mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
- split ldh.h out of samba's includes.h - make ldb_context and ldb_module private to the subsystem - use ltdb_ prefix for all ldb_tdb functions metze
33 lines
618 B
C
33 lines
618 B
C
/*
|
|
a temporary includes file until I work on the ldb build system
|
|
*/
|
|
|
|
#ifndef _GNU_SOURCE
|
|
#define _GNU_SOURCE
|
|
#endif
|
|
#include <stdio.h>
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
#include <errno.h>
|
|
#include <ctype.h>
|
|
#include <fcntl.h>
|
|
#include <stdarg.h>
|
|
#include <signal.h>
|
|
#include <unistd.h>
|
|
#include <fnmatch.h>
|
|
#include <sys/time.h>
|
|
#include <time.h>
|
|
|
|
#include "ldb.h"
|
|
#include "ldb_private.h"
|
|
|
|
#ifdef HAVE_INTPTR_T
|
|
#define discard_const(ptr) ((void *)((intptr_t)(ptr)))
|
|
#else
|
|
#define discard_const(ptr) ((void *)(ptr))
|
|
#endif
|
|
#define discard_const_p(type, ptr) ((type *)discard_const(ptr))
|
|
|
|
|