Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b713ff80 in mainline for uspace/app/trace/proto.h


Ignore:
Timestamp:
2012-06-01T19:06:17Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
d92c1ca
Parents:
77ad86c
Message:

cstyle (no change in functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/trace/proto.h

    r77ad86c rb713ff80  
    4444typedef struct {
    4545        const char *name;
    46 
     46       
    4747        int argc;
    4848        val_type_t arg_type[OPER_MAX_ARGS];
    49 
     49       
    5050        val_type_t rv_type;
    51 
     51       
    5252        int respc;
    5353        val_type_t resp_type[OPER_MAX_ARGS];
     
    5757        /** Protocol name */
    5858        const char *name;
    59 
     59       
    6060        /** Maps method number to operation */
    6161        hash_table_t method_oper;
     
    6565extern hash_table_t srv_proto;
    6666
    67 void proto_init(void);
    68 void proto_cleanup(void);
     67extern void proto_init(void);
     68extern void proto_cleanup(void);
    6969
    70 void proto_register(int srv, proto_t *proto);
    71 proto_t *proto_get_by_srv(int srv);
    72 proto_t *proto_new(const char *name);
    73 void proto_delete(proto_t *proto);
    74 void proto_add_oper(proto_t *proto, int method, oper_t *oper);
    75 oper_t *proto_get_oper(proto_t *proto, int method);
     70extern void proto_register(int, proto_t *);
     71extern proto_t *proto_get_by_srv(int);
     72extern proto_t *proto_new(const char *);
     73extern void proto_delete(proto_t *);
     74extern void proto_add_oper(proto_t *, int, oper_t *);
     75extern oper_t *proto_get_oper(proto_t *, int);
    7676
    77 oper_t *oper_new(const char *name, int argc, val_type_t *arg_types,
    78     val_type_t rv_type, int respc, val_type_t *resp_types);
    79 
    80 
     77extern oper_t *oper_new(const char *, int, val_type_t *, val_type_t, int,
     78    val_type_t *);
    8179
    8280#endif
Note: See TracChangeset for help on using the changeset viewer.