configfile.h
来自「网络摄像头的webserver」· C头文件 代码 · 共 25 行
H
25 行
#ifndef _CONFIGFILE_H_#define _CONFIGFILE_H_#include <libxml/parser.h>#include "mod_handle.h"/* Created once on startup, then never modified and readonly */extern xmlDocPtr configdoc;/* The config file we've used to build the xml tree */extern char *ourconfig;/* Figures out which config file to use, and sets up the "ourconfig" pointer. Returns -1 on error */int config_init(char *);/* Opens "ourconfig" and builds the xml tree (configdoc) from it. Returns -1 on error */int config_load(void);/* Returns a newly allocated string with a leading "~/" replaced by the home dir */char *config_homedir(char *);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?