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


Ignore:
Timestamp:
2012-06-29T15:31:44Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9432f08
Parents:
34ab31c (diff), 0bbd13e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    r34ab31c re6a78b9  
    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.