1 #define NDR_RQST_FUNCTION(name) \
2 int #name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) \
4 struct pidl_pull *ndr = pidl_pull_init(tvb, offset, pinfo, drep); \
5 struct #name *r = talloc_p(NULL, struct #name); \
7 ptree.proto_tree = tree; \
8 ptree.subtree_list = NULL; \
9 ndr_pull_#name(ndr, NDR_IN, &ptree, r); \