/branches/tracing/uspace/app/sctrace/proto.c |
---|
161,5 → 161,20 |
return mo->oper; |
} |
static void oper_struct_init(oper_t *oper, char *name) |
{ |
oper->name = name; |
} |
oper_t *oper_new(char *name) |
{ |
oper_t *o; |
o = malloc(sizeof(oper_t)); |
oper_struct_init(o, name); |
return o; |
} |
/** @} |
*/ |