Rev 3438 | Rev 3452 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3438 | Rev 3443 | ||
---|---|---|---|
Line 170... | Line 170... | ||
170 | proto_struct_init(p, name); |
170 | proto_struct_init(p, name); |
171 | 171 | ||
172 | return p; |
172 | return p; |
173 | } |
173 | } |
174 | 174 | ||
- | 175 | void proto_delete(proto_t *proto) |
|
- | 176 | { |
|
- | 177 | free(proto); |
|
- | 178 | } |
|
- | 179 | ||
175 | void proto_add_oper(proto_t *proto, int method, oper_t *oper) |
180 | void proto_add_oper(proto_t *proto, int method, oper_t *oper) |
176 | { |
181 | { |
177 | method_oper_t *mo; |
182 | method_oper_t *mo; |
178 | unsigned long key; |
183 | unsigned long key; |
179 | 184 |