Lines Matching defs:obj
101 * Pre-condition: obj is non-null.
104 smb_token_encode(smb_token_t *obj, uint32_t *len)
109 if (!obj) {
114 *len = xdr_sizeof(smb_token_xdr, obj);
123 if (!smb_token_xdr(&xdrs, obj)) {
140 smb_logon_t *obj;
145 if ((obj = malloc(sizeof (smb_logon_t))) == NULL) {
151 bzero(obj, sizeof (smb_logon_t));
152 if (!smb_logon_xdr(&xdrs, obj)) {
154 free(obj);
155 obj = NULL;
159 return (obj);
163 smb_logon_free(smb_logon_t *obj)
165 xdr_free(smb_logon_xdr, (char *)obj);
166 free(obj);