Changeset 85a4350 in mainline for uspace/app/trace/proto.h
- Timestamp:
- 2012-06-03T15:09:27Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 652b776
- Parents:
- 840e227 (diff), 3123d2a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/proto.h
r840e227 r85a4350 44 44 typedef struct { 45 45 const char *name; 46 46 47 47 int argc; 48 48 val_type_t arg_type[OPER_MAX_ARGS]; 49 49 50 50 val_type_t rv_type; 51 51 52 52 int respc; 53 53 val_type_t resp_type[OPER_MAX_ARGS]; … … 57 57 /** Protocol name */ 58 58 const char *name; 59 59 60 60 /** Maps method number to operation */ 61 61 hash_table_t method_oper; … … 65 65 extern hash_table_t srv_proto; 66 66 67 void proto_init(void);68 void proto_cleanup(void);67 extern void proto_init(void); 68 extern void proto_cleanup(void); 69 69 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);70 extern void proto_register(int, proto_t *); 71 extern proto_t *proto_get_by_srv(int); 72 extern proto_t *proto_new(const char *); 73 extern void proto_delete(proto_t *); 74 extern void proto_add_oper(proto_t *, int, oper_t *); 75 extern oper_t *proto_get_oper(proto_t *, int); 76 76 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 77 extern oper_t *oper_new(const char *, int, val_type_t *, val_type_t, int, 78 val_type_t *); 81 79 82 80 #endif
Note:
See TracChangeset
for help on using the changeset viewer.