![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 542](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642542.webp)
Functions for Manipulating Bits
542
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
slapi_isbitset_uchar()
Checks whether a particular bit is set in the specified character.
#include “slapi-plugin.h”
int slapi_isbitset_uchar(unsigned char f,unsigned char bitnum);
Parameters
This function takes the following parameters:
Returns
This function returns one of the following values:
•
1
if the specified bit is set.
•
0
if the specified bit is not set.
See Also
slapi_setbit_uchar()
slapi_unsetbit_uchar()
slapi_setbit_int()
Sets the specified bit in an integer.
Syntax
#include “slapi-plugin.h”
unsigned int slapi_setbit_int(unsigned int f,unsigned int bitnum);
Parameters
This function takes the following parameters:
f
The unsigned character, a bit of which is to be checked.
bitnum
The bit number in the unsigned character that needs to be
checked.
f
The integer in which a bit is to be set.
bitnum
The bit number that needs to be set in the integer.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...