misc.h   misc.h 
#ifndef _LIBHX_MISC_H #ifndef _LIBHX_MISC_H
#define _LIBHX_MISC_H 1 #define _LIBHX_MISC_H 1
#ifndef __cplusplus #ifndef __cplusplus
# include <limits.h>
# include <stdarg.h> # include <stdarg.h>
# include <stdio.h> # include <stdio.h>
#else #else
# include <climits>
# include <cstdarg> # include <cstdarg>
# include <cstdio> # include <cstdio>
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/*
* BITMAP.H
*/
#define __HXbitmap_bpq(type) \
(sizeof(type) * CHAR_BIT)
#define HXbitmap_size(type, bits) \
((bits + __HXbitmap_bpq(type) - 1) / __HXbitmap_bpq(type))
#define __HXbitmap_quant(map, bit) \
((map)[bit / __HXbitmap_bpq(*(map))])
#define HXbitmap_set(map, bit) \
((void)(__HXbitmap_quant(map, bit) |= (1 << (bit % __HXbitmap_bpq(ma
p)))))
#define HXbitmap_clear(map, bit) \
((void)(__HXbitmap_quant(map, bit) &= ~(1 << (bit % __HXbitmap_bpq(m
ap)))))
#define HXbitmap_test(map, bit) \
((bool)(__HXbitmap_quant(map, bit) & (1 << (bit % __HXbitmap_bpq(map
)))))
struct stat; struct stat;
struct timespec; struct timespec;
struct timeval; struct timeval;
/* /*
* DIR.C * DIR.C
*/ */
enum { enum {
HXF_UID = 1 << 0, HXF_UID = 1 << 0,
HXF_GID = 1 << 1, HXF_GID = 1 << 1,
 End of changes. 3 change blocks. 
0 lines changed or deleted 21 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/