openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/nss-pam-ldapd/0.9.8-r0/nss-pam-ldapd-0.9.8/nss/aliases.c
static nss_status_t read_aliasent(TFILE* fp, struct aliasent* result,
                                  char* buffer, size_t buflen, int* errnop)
{
    int32_t tmpint32, tmp2int32, tmp3int32;
    size_t bufptr = 0;
    memset(result, 0, sizeof(struct aliasent));
    /* read the name of the alias */
    READ_BUF_STRING(fp, result->alias_name);
    /* read the members */
    READ_BUF_STRINGLIST(fp, result->alias_members);
    /* tmp3int32 holds the number of entries read */
    result->alias_members_len = tmp3int32;
    /* fill in remaining gaps in struct */
    result->alias_local = 0;
    /* we're done */
    return NSS_STATUS_SUCCESS;
}
/* read an alias entry from the stream */
read an alias entry from the stream
read an alias entry from the stream
static nss_status_t read_aliasent(TFILE* fp, struct aliasent* result,
                                  char* buffer, size_t buflen, int* errnop)
{
    int32_t tmpint32, tmp2int32, tmp3int32;
    size_t bufptr = 0;
    memset(result, 0, sizeof(struct aliasent));
    READ_BUF_STRING(fp, result->alias_name);
    READ_BUF_STRINGLIST(fp, result->alias_members);
    result->alias_members_len = tmp3int32;
    result->alias_local = 0;
    return NSS_STATUS_SUCCESS;
}
static nss_status_t read_aliasent ( TFILE * fp , struct aliasent * result , char * buffer , size_t buflen , int * errnop ) { int32_t tmpint32 , tmp2int32 , tmp3int32 ; size_t bufptr = 0 ; memset ( result , 0 , sizeof ( struct aliasent ) ) ; READ_BUF_STRING ( fp , result -> alias_name ) ; READ_BUF_STRINGLIST ( fp , result -> alias_members ) ; result -> alias_members_len = tmp3int32 ; result -> alias_local = 0 ; return NSS_STATUS_SUCCESS ; }
read an alias entry from the stream
read an alias entry from the stream
/* read the name of the alias */ /* read the members */ /* tmp3int32 holds the number of entries read */ /* fill in remaining gaps in struct */ /* we're done */