📄 myproxy.h
字号:
/* * myproxy.h * * Main public header for MyProxy library * */#ifndef __MYPROXY_H#define __MYPROXY_H#define MYPROXY_VERSION "MYPROXYv2" /* protocol version string *//* compilation options */#if defined(HAVE_LIBPAM)#define MYPROXY_VERSION_PAM " PAM"#else#define MYPROXY_VERSION_PAM ""#endif#if defined(HAVE_LIBSASL2)#define MYPROXY_VERSION_SASL " SASL"#else#define MYPROXY_VERSION_SASL ""#endif#if defined(BUILD_GSSAPI_PLUGIN)#define MYPROXY_VERSION_KRB5 " KRB5"#else#define MYPROXY_VERSION_KRB5 ""#endif/* software version constants */#define MYPROXY_VERSION_MAJOR 3#define MYPROXY_VERSION_MINOR 4#define MYPROXY_VERSION_MICRO 0#define MYPROXY_VERSION_DATE "v3.4 19 Dec 2005" \ MYPROXY_VERSION_PAM MYPROXY_VERSION_SASL MYPROXY_VERSION_KRB5/* * myproxy_version() * * Returns a static string indicating the MyProxy library version. * Also sets major, minor, and micro version numbers if non-NULL. */char *myproxy_version(int *major, int *minor, int *micro);/* * myproxy_check_version() * * Returns 0 if MyProxy library version matches this header. * Returns 1 if major version number differs. * Returns 2 if minor version number differs. * Returns 3 if micro version number differs. * * Note: Requiring header and library version to match is recommended, * as the MyProxy struct types sometimes change. */int myproxy_check_version_ex(int major, int minor, int micro);#define myproxy_check_version() \ myproxy_check_version_ex(MYPROXY_VERSION_MAJOR, MYPROXY_VERSION_MINOR, \ MYPROXY_VERSION_MICRO)#include "myproxy_constants.h"#include "myproxy_authorization.h"#include "myproxy_protocol.h"#include "myproxy_creds.h"#include "myproxy_delegation.h"#include "myproxy_log.h"#include "myproxy_read_pass.h"#include "myproxy_sasl_client.h"#include "myproxy_sasl_server.h"#include "myproxy_server.h"#include "verror.h"#endif /* __MYPROXY_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -