|
Home --> Documentations --> PJLIB-UTIL Reference
scanner_cis_uint.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __PJLIB_UTIL_SCANNER_CIS_BIT_H__
00021 #define __PJLIB_UTIL_SCANNER_CIS_BIT_H__
00022
00023 #include <pj/types.h>
00024
00025 PJ_BEGIN_DECL
00026
00031 #ifndef PJ_CIS_ELEM_TYPE
00032 # define PJ_CIS_ELEM_TYPE int
00033 #endif
00034
00039 typedef PJ_CIS_ELEM_TYPE pj_cis_elem_t;
00040
00042 typedef int pj_cis_buf_t;
00043
00047 typedef struct pj_cis_t
00048 {
00049 PJ_CIS_ELEM_TYPE cis_buf[256];
00050 } pj_cis_t;
00051
00052
00060 #define PJ_CIS_SET(cis,c) ((cis)->cis_buf[(int)(c)] = 1)
00061
00069 #define PJ_CIS_CLR(cis,c) ((cis)->cis_buf[(int)c] = 0)
00070
00078 #define PJ_CIS_ISSET(cis,c) ((cis)->cis_buf[(int)c])
00079
00080
00081
00082 PJ_END_DECL
00083
00084 #endif
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.
|