dynamic_loader.h
来自「关系型数据库 Postgresql 6.5.2」· C头文件 代码 · 共 46 行
H
46 行
/*------------------------------------------------------------------------- * * dynamic_loader.h * * * * Copyright (c) 1994, Regents of the University of California * * $Id: dynamic_loader.h,v 1.10.2.1 1999/08/02 05:25:24 scrappy Exp $ * *------------------------------------------------------------------------- */#ifndef DYNAMIC_LOADER_H#define DYNAMIC_LOADER_H#include <sys/types.h>#include <sys/param.h> /* For MAXPATHLEN *//* we need this include because port files use them */#include "postgres.h"#ifdef MIN#undef MIN#undef MAX#endif /* MIN *//* * List of dynamically loaded files. */typedef struct df_files{ char filename[MAXPATHLEN]; /* Full pathname of file */ dev_t device; /* Device file is on */ ino_t inode; /* Inode number of file */ void *handle; /* a handle for pg_dl* functions */ struct df_files *next;} DynamicFileList;extern void *pg_dlopen(char *filename);extern func_ptr pg_dlsym(void *handle, char *funcname);extern void pg_dlclose(void *handle);extern char *pg_dlerror(void);#endif /* DYNAMIC_LOADER_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?