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/nslcd/nslcd.c
static int read_header(TFILE* fp, int32_t* action)
{
    int32_t tmpint32;
    int32_t protocol;
    /* read the protocol version */
    READ_INT32(fp, protocol);
    if (protocol != (int32_t)NSLCD_VERSION)
    {
        log_log(LOG_DEBUG, "invalid nslcd version id: 0x%08x",
                (unsigned int)protocol);
        return -1;
    }
    /* read the request type */
    READ_INT32(fp, *action);
    return 0;
}
/* read the version information and action from the stream
   this function returns the read action in location pointer to by action */
read the version information and action from the stream
this function returns the read action in location pointer to by action
read the version information and action from the stream this function returns the read action in location pointer to by action
static int read_header(TFILE* fp, int32_t* action)
{
    int32_t tmpint32;
    int32_t protocol;
    READ_INT32(fp, protocol);
    if (protocol != (int32_t)NSLCD_VERSION)
    {
        log_log(LOG_DEBUG, "invalid nslcd version id: 0x%08x",
                (unsigned int)protocol);
        return -1;
    }
    READ_INT32(fp, *action);
    return 0;
}
static int read_header ( TFILE * fp , int32_t * action ) { int32_t tmpint32 ; int32_t protocol ; READ_INT32 ( fp , protocol ) ; if ( protocol != ( int32_t ) NSLCD_VERSION ) { log_log ( LOG_DEBUG , " " , ( unsigned int ) protocol ) ; return -1 ; } READ_INT32 ( fp , * action ) ; return 0 ; }
read the version information and action from the stream
this function returns the read action in location pointer to by action
read the version information and action from the stream this function returns the read action in location pointer to by action
/* read the protocol version */ /* read the request type */