Changeset abf3564 in mainline for uspace/app/trace/proto.c
- Timestamp:
- 2008-09-18T22:19:42Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f7176b1
- Parents:
- 073c9e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/proto.c
r073c9e6 rabf3564 38 38 #include <libadt/hash_table.h> 39 39 40 #include "trace.h" 40 41 #include "proto.h" 41 42 … … 210 211 } 211 212 212 oper_t *oper_new(char *name) 213 oper_t *oper_new(char *name, int argc, val_type_t *arg_types, 214 val_type_t rv_type, int respc, val_type_t *resp_types) 213 215 { 214 216 oper_t *o; 217 int i; 215 218 216 219 o = malloc(sizeof(oper_t)); 217 220 oper_struct_init(o, name); 218 221 222 o->argc = argc; 223 for (i = 0; i < argc; i++) 224 o->arg_type[i] = arg_types[i]; 225 226 o->rv_type = rv_type; 227 228 o->respc = respc; 229 for (i = 0; i < respc; i++) 230 o->resp_type[i] = resp_types[i]; 231 219 232 return o; 220 233 }
Note:
See TracChangeset
for help on using the changeset viewer.