Lines Matching defs:buffer

105 __door_getldapconfig(char **buffer, int *buflen, ns_ldap_error_t **error);
108 SetDoorInfo(char *buffer, ns_ldap_error_t **errorp);
543 * The sysinfo man page recommends using a buffer size
1515 * Size of errstr buffer needs to be MAXERROR.
1522 char *ptr = NULL, *strptr = NULL, buffer[BUFSIZE];
1591 (void) strcpy(buffer, value);
1592 strptr = strtok_r(buffer, ",", &rest);
1632 __s_api_split_key_value(char *buffer, char **name, char **value)
1636 *name = buffer;
1638 if ((ptr = strchr(buffer, TOKENSEPARATOR)) != NULL) {
3052 LineBuf *buffer = &lbuf;
3067 (void) memset((char *)buffer, 0, sizeof (LineBuf));
3098 if (__print2buf(buffer, abuf, NULL))
3113 if (__print2buf(buffer, __s_get_auth_name(cfg,
3125 if (__print2buf(buffer, __s_get_credlvl_name(cfg,
3135 if (__print2buf(buffer, ptr->ns_ppc[i], NULL))
3144 if (__print2buf(buffer, DOORLINESEP, NULL) ||
3145 __print2buf(buffer, def->name, EQUALSEP))
3149 if (__print2buf(buffer, "\n", NULL) ||
3150 __print2buf(buffer, def->name, EQUSPSEP))
3154 if (__print2buf(buffer, "\n", NULL) ||
3155 __print2buf(buffer, def->profile_name,
3169 if (__print2buf(buffer, ptr->ns_ppc[i], sepstr))
3184 if (__print2buf(buffer, ptr->ns_ppc[i], sepstr))
3191 if (__print2buf(buffer, ptr->ns_pc, NULL))
3197 if (__print2buf(buffer,
3202 if (__print2buf(buffer, __s_get_searchref_name(cfg,
3207 if (__print2buf(buffer, __s_get_scope_name(cfg,
3212 if (__print2buf(buffer, __s_get_shadowupdate_name(
3219 if (__print2buf(buffer, ibuf, NULL))
3232 if (__print2buf(buffer, DOORLINESEP,
3236 if (__print2buf(buffer, "\n", abuf))
3241 if (__print2buf(buffer, mptr->service, COLONSEP) ||
3242 __print2buf(buffer, mptr->orig, EQUALSEP))
3249 if (__print2buf(buffer, sepstr, *cpp))
3263 if (__print2buf(buffer, DOORLINESEP,
3267 if (__print2buf(buffer, "\n", abuf))
3272 if (__print2buf(buffer, mptr->service, COLONSEP) ||
3273 __print2buf(buffer, mptr->orig, EQUALSEP))
3280 if (__print2buf(buffer, sepstr, *cpp))
3288 retstring = buffer->str;
3292 if (buffer->len > 0)
3293 free(buffer->str);
3299 __door_getconf(char **buffer, int *buflen, ns_ldap_error_t **error,
3319 if (domainname == NULL || buffer == NULL || buflen == NULL ||
3356 /* copy info from door call to buffer here */
3360 *buffer = calloc(*buflen, sizeof (char));
3361 if (*buffer == NULL) {
3364 (void) memcpy(*buffer, cfghdr, *buflen - 1);
3375 __door_getldapconfig(char **buffer, int *buflen, ns_ldap_error_t **error)
3377 return (__door_getconf(buffer, buflen, error, GETLDAPCONFIGV1));
3385 SetDoorInfoToUnixCred(char *buffer, ns_ldap_error_t **errorp,
3391 char *bufptr = buffer;
3448 SetDoorInfo(char *buffer, ns_ldap_error_t **errorp)
3455 char *bufptr = buffer;
3530 char *buffer = NULL;
3539 ret = __door_getldapconfig(&buffer, &buflen, error);
3548 cfghdr = (ldap_config_out_t *)buffer;
3555 free(buffer);
3560 cfg = SetDoorInfo(buffer, error);
3561 free(buffer);