void fwp_ctable_init(struct fwp_ctable *ctable);
int fwp_ctable_put(struct fwp_ctable *ctable, struct fwp_ctable_entry *entry);
-int fwp_ctable_get(struct fwp_ctable *ctable, struct fwp_ctable_entry *entry);
+struct fwp_ctable_entry* fwp_ctable_get(struct fwp_ctable* ctable, unsigned int id);
void fwp_ctable_remove(struct fwp_ctable *ctable, unsigned int id);
#endif /* _FWP_CTABLE_H */
if (msgb == NULL) return -1;
- fwp_msg_header_put(msgb, NEGOTIATE_REQUEST, 0);
+ fwp_msg_header_put(msgb, FWP_NEGT_REQ, 0);
fwp_msg_contract_put(msgb, contract);
/*sendto FWP client through unix socket