diff options
Diffstat (limited to 'ldap/servers/slapd/slapi-private.h')
-rw-r--r-- | ldap/servers/slapd/slapi-private.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ldap/servers/slapd/slapi-private.h b/ldap/servers/slapd/slapi-private.h index 85aa85c5..320f392e 100644 --- a/ldap/servers/slapd/slapi-private.h +++ b/ldap/servers/slapd/slapi-private.h @@ -377,6 +377,8 @@ Slapi_DN *slapi_sdn_init_dn_ndn_byref(Slapi_DN *sdn,const char *dn); /* filter.c */ int filter_flag_is_set(const Slapi_Filter *f,unsigned char flag); char *slapi_filter_to_string(const Slapi_Filter *f, char *buffer, size_t bufsize); +char * +slapi_filter_to_string_internal( const struct slapi_filter *f, char *buf, size_t *bufsize ); /* operation.c */ @@ -1226,6 +1228,14 @@ void DS_Sleep(PRIntervalTime ticks); #define PRLDAP_SET_PORT(myaddr,myport) \ ((myaddr)->raw.family == PR_AF_INET6 ? ((myaddr)->ipv6.port = PR_htons(myport)) : ((myaddr)->inet.port = PR_htons(myport))) +/* + * snmp_collator.c + * wrapper functions to ease the cast burdon between net-snmp APIs which expect + * unsigned int and PR_AtomicIncrement/PR_AtomicSet which expect signed int. + */ +void snmp_increment_counter(PRUint32 *counter); +void snmp_set_counter(PRUint32 *counter, PRInt32 newval); + #ifdef __cplusplus } #endif |