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/protocol.c
static int mkfilter_protocol_bynumber(int protocol, char* buffer, size_t buflen)
{
    return mysnprintf(buffer, buflen, "(&%s(%s=%d))", protocol_filter,
                      attmap_protocol_ipProtocolNumber, protocol);
}
/* create a search filter for searching a protocol entry
   by uid, return -1 on errors */
create a search filter for searching a protocol entry
by uid, return -1 on errors
create a search filter for searching a protocol entry by uid return - 1 on errors
static int mkfilter_protocol_bynumber(int protocol, char* buffer, size_t buflen)
{
    return mysnprintf(buffer, buflen, "(&%s(%s=%d))", protocol_filter,
                      attmap_protocol_ipProtocolNumber, protocol);
}
static int mkfilter_protocol_bynumber ( int protocol , char * buffer , size_t buflen ) { return mysnprintf ( buffer , buflen , " " , protocol_filter , attmap_protocol_ipProtocolNumber , protocol ) ; }
create a search filter for searching a protocol entry
by uid, return -1 on errors
create a search filter for searching a protocol entry by uid return - 1 on errors