Lines Matching defs:objp

36 xdr_xpol_enum(XDR *xdrs, xpol_enum *objp)
38 if (!xdr_enum(xdrs, (enum_t *)objp))
44 xdr_xpol_uids(XDR *xdrs, xpol_uids *objp)
46 if (!xdr_uid_t(xdrs, &objp->umin))
48 if (!xdr_uid_t(xdrs, &objp->umax))
54 xdr_xpol_ports(XDR *xdrs, xpol_ports *objp)
56 if (!xdr_int(xdrs, &objp->proto))
58 if (!xdr_uint16_t(xdrs, &objp->pmin))
60 if (!xdr_uint16_t(xdrs, &objp->pmax))
66 xdr_xpol_args(XDR *xdrs, xpol_args *objp)
68 if (!xdr_xpol_enum(xdrs, &objp->xa_args_type))
70 switch (objp->xa_args_type) {
72 if (!xdr_string(xdrs, &objp->xpol_args_u.xa_path, MAXPATHLEN))
76 if (!xdr_xpol_uids(xdrs, &objp->xpol_args_u.xa_uids))
80 if (!xdr_xpol_ports(xdrs, &objp->xpol_args_u.xa_ports))
99 xdr_xpol_rule(XDR *xdrs, xpol_rule_t *objp)
113 if (!xdr_u_int(xdrs, &objp->xr_privs_len))
116 if (objp->xr_privs == NULL)
117 objp->xr_privs = malloc(objp->xr_privs_len);
118 if (!xdr_opaque(xdrs, (char *)objp->xr_privs,
119 objp->xr_privs_len))
122 if (!xdr_xpol_args(xdrs, &objp->xr_args))
128 objp->xr_next = NULL;
132 if (objp->xr_next == NULL) {
133 objp->xr_next = (xpol_rule_t *)
135 if (objp->xr_next == NULL)
137 bzero(objp->xr_next, sizeof (xpol_rule_t));
139 objp = objp->xr_next;
152 if (!xdr_opaque(xdrs, (char *)objp->xr_privs, slen))
155 if (!xdr_xpol_args(xdrs, &objp->xr_args))
157 objp = objp->xr_next;
158 if (objp == NULL)
167 if (!xdr_u_int(xdrs, &objp->xr_privs_len))
170 if (!xdr_opaque(xdrs, (char *)objp->xr_privs,
171 objp->xr_privs_len))
174 free(objp->xr_privs); /* Works for DECODED stuff */
176 if (!xdr_xpol_args(xdrs, &objp->xr_args))
178 tmp_xpol_rule = objp;
179 objp = objp->xr_next;
180 if (objp == NULL)