Rev 3474 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3474 | Rev 4691 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | */ |
33 | */ |
34 | 34 | ||
35 | #include <stdio.h> |
35 | #include <stdio.h> |
36 | #include <stdlib.h> |
36 | #include <stdlib.h> |
37 | #include <ipc/ipc.h> |
37 | #include <ipc/ipc.h> |
38 | #include <libadt/hash_table.h> |
38 | #include <adt/hash_table.h> |
39 | 39 | ||
40 | #include "trace.h" |
40 | #include "trace.h" |
41 | #include "proto.h" |
41 | #include "proto.h" |
42 | 42 | ||
43 | #define SRV_PROTO_TABLE_CHAINS 32 |
43 | #define SRV_PROTO_TABLE_CHAINS 32 |
44 | #define METHOD_OPER_TABLE_CHAINS 32 |
44 | #define METHOD_OPER_TABLE_CHAINS 32 |
45 | 45 | ||
46 | hash_table_t srv_proto; |
46 | hash_table_t srv_proto; |
47 | 47 | ||
48 | typedef struct { |
48 | typedef struct { |
49 | int srv; |
49 | unsigned srv; |
50 | proto_t *proto; |
50 | proto_t *proto; |
51 | link_t link; |
51 | link_t link; |
52 | } srv_proto_t; |
52 | } srv_proto_t; |
53 | 53 | ||
54 | typedef struct { |
54 | typedef struct { |