📄 puredb_p.h
字号:
/* (C)opyleft 2001-2004 Frank DENIS <j@pureftpd.org> */#ifndef __PUREDB_P_H__#define __PUREDB_P_H__ 1#include <stdio.h>#ifdef STDC_HEADERS# include <stdlib.h># include <stddef.h># include <stdarg.h>#else# if HAVE_STDLIB_H# include <stdlib.h># endif#endif#if HAVE_STRING_H# if !STDC_HEADERS && HAVE_MEMORY_H# include <memory.h># endif# include <string.h>#else# if HAVE_STRINGS_H# include <strings.h># endif#endif#include <limits.h>#include <errno.h>#ifdef HAVE_UNISTD_H# include <unistd.h>#endif#include <sys/types.h>#include <sys/stat.h>#ifdef HAVE_FCNTL_H# include <fcntl.h>#elif defined(HAVE_SYS_FCNTL_H)# include <sys/fcntl.h>#endif#ifdef HAVE_IOCTL_H# include <ioctl.h>#elif defined(HAVE_SYS_IOCTL_H)# include <sys/ioctl.h>#endif#ifdef HAVE_NETINET_IN_SYSTM_H# include <netinet/in_systm.h>#endif#ifdef HAVE_NETINET_IN_H# include <netinet/in.h>#endif#ifdef HAVE_MMAP# include <sys/mman.h>#endif#ifdef HAVE_WINDOWS_H# include <windows.h>#endif#ifdef HAVE_IO_H# include <io.h>#endif#ifdef HAVE_SYS_PARAM_H# include <sys/param.h>#endif#ifdef HAVE_ALLOCA# ifdef HAVE_ALLOCA_H# include <alloca.h># endif# define ALLOCA(X) alloca(X)# define ALLOCA_FREE(X) do { } while (0)#else# define ALLOCA(X) malloc(X)# define ALLOCA_FREE(X) free(X)#endif#ifndef O_NOFOLLOW# define O_NOFOLLOW 0#endif#ifndef O_BINARY# define O_BINARY 0#endif#if !defined(O_NDELAY) && defined(O_NONBLOCK)# define O_NDELAY O_NONBLOCK#endif#ifndef FNDELAY# define FNDELAY O_NDELAY#endif#ifndef MAP_FILE# define MAP_FILE 0#endif#ifndef MAP_FAILED# define MAP_FAILED ((void *) -1)#endif#if defined(HAVE_MAPVIEWOFFILE) || defined(HAVE_MMAP)# define USE_MAPPED_IO 1#endif#ifndef errnoextern int errno;#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -