|
Home --> Documentations --> PJLIB-UTIL Reference
20 #ifndef __PJLIB_UTIL_SCANNER_CIS_BIT_H__
21 #define __PJLIB_UTIL_SCANNER_CIS_BIT_H__
31 #ifndef PJ_CIS_ELEM_TYPE
32 # define PJ_CIS_ELEM_TYPE pj_uint32_t
39 typedef PJ_CIS_ELEM_TYPE pj_cis_elem_t;
45 #define PJ_CIS_MAX_INDEX (sizeof(pj_cis_elem_t) << 3)
73 #define PJ_CIS_SET(cis,c) ((cis)->cis_buf[(int)(c)] |= (1 << (cis)->cis_id))
82 #define PJ_CIS_CLR(cis,c) ((cis)->cis_buf[(int)c] &= ~(1 << (cis)->cis_id))
91 #define PJ_CIS_ISSET(cis,c) ((cis)->cis_buf[(int)c] & (1 << (cis)->cis_id))
PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.
|