pure-uploadscript_p.h
来自「功能强大的ftp服务器源代码」· C头文件 代码 · 共 43 行
H
43 行
#ifndef __PURE_UPLOADSCRIPT_P_H__# define __PURE_UPLOADSCRIPT_P_H__ 1# ifndef HAVE_GETOPT_LONG# include "bsd-getopt_long.h"# else# include <getopt.h># endif# ifdef HAVE_SYS_WAIT_H# include <sys/wait.h># endifstatic const char *GETOPT_OPTIONS = "Bg:"# ifndef NO_GETOPT_LONG "h"# endif "r:u:";#ifndef NO_GETOPT_LONGstatic struct option long_options[] = { { "daemonize", 0, NULL, 'B' }, { "gid", 1, NULL, 'g' },# ifndef NO_GETOPT_LONG { "help", 0, NULL, 'h' },# endif { "run", 1, NULL, 'r' }, { "uid", 1, NULL, 'u' }, { NULL, 0, NULL, 0 } };#endifstatic signed char daemonize;static uid_t uid;static gid_t gid;static const char *script;#define OPEN_TRIES 10U#define OPEN_DELAY 1U#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?