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


Ignore:
Timestamp:
2008-09-18T22:19:42Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f7176b1
Parents:
073c9e6
Message:

trace: Decode protocol-level call arguments, response retvals and arguments.

File:
1 edited

Legend:

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

    r073c9e6 rabf3564  
    3737
    3838#include <libadt/hash_table.h>
     39#include <ipc/ipc.h>
     40#include "trace.h"
     41
     42#define OPER_MAX_ARGS (IPC_CALL_LEN - 1)
    3943
    4044typedef struct {
    4145        char *name;
     46
     47        int argc;
     48        val_type_t arg_type[OPER_MAX_ARGS];
     49
     50        val_type_t rv_type;
     51
     52        int respc;
     53        val_type_t resp_type[OPER_MAX_ARGS];
    4254} oper_t;
    4355
     
    6375oper_t *proto_get_oper(proto_t *proto, int method);
    6476
    65 oper_t *oper_new(char *name);
     77oper_t *oper_new(char *name, int argc, val_type_t *arg_types,
     78    val_type_t rv_type, int respc, val_type_t *resp_types);
     79
    6680
    6781
Note: See TracChangeset for help on using the changeset viewer.