voms_api.h(3)
β¨ voms_api.h β the manual page β¨
okay so bestie, pull up a chair π this is voms_api.h(3), from the Library Functions Manual, and it is literally the header where the VOMS CC API lives. she's giving "I contain multitudes": structs, typedefs, enums, functions, the whole main-character lineup π
πΈ NAME πΈ
voms_api.h β that's it, that's the name, no notes, periodt π
π¦ SYNOPSIS π¦
first things first, she includes her little friends:
#include <fstream>
#include <string>
#include <vector>
#include <openssl/x509.h>
#include <openssl/bio.h>
#include <sys/types.h>
#include 'newformat.h'
and then, drumroll please π₯ β the actual contents:
π Data Structures π
struct dataβ User's characteristics: can be repeated. Generic name-value attribute : can be repeated.struct attributestruct attributeliststruct contactdatastruct vomsstruct vomsdata
π Typedefs π
typedef void * gss_cred_id_ttypedef void * gss_ctx_id_ttypedef bool(* check_sig) (X509 *, void *, verror_type &)
π Enumerations π
enum data_type { TYPE_NODATA, TYPE_STD, TYPE_CUSTOM }β The type of data returned. (iykyk π)enum recurse_type { RECURSE_CHAIN, RECURSE_NONE, RECURSE_DEEP }enum verify_type { VERIFY_FULL = 0xffffffff, VERIFY_NONE = 0x00000000, VERIFY_DATE = 0x00000001, VERIFY_TARGET = 0x00000002, VERIFY_KEY = 0x00000004, VERIFY_SIGN = 0x00000008, VERIFY_ORDER = 0x00000010, VERIFY_ID = 0x00000020, VERIFY_CERTLIST = 0x00000040 }enum verror_type { VERR_NONE, VERR_NOSOCKET, VERR_NOIDENT, VERR_COMM, VERR_PARAM, VERR_NOEXT, VERR_NOINIT, VERR_TIME, VERR_IDCHECK, VERR_EXTRAINFO, VERR_FORMAT, VERR_NODATA, VERR_PARSE, VERR_DIR, VERR_SIGN, VERR_SERVER, VERR_MEM, VERR_VERIFY, VERR_TYPE, VERR_ORDER, VERR_SERVERCODE, VERR_NOTAVAIL, VERR_FILE }β Error codes. (so many bestie, so many π)
π Functions π
int getVOMSMajorVersionNumber (void)int getVOMSMinorVersionNumber (void)int getVOMSPatchVersionNumber (void)
π Typedef Documentation π
β¨ typedef bool(* check_sig) (X509 *, void *, verror_type &) β¨
Definition at line 189 of file voms_api.h.
β¨ typedef void* gss_cred_id_t β¨
Definition at line 41 of file voms_api.h.
β¨ typedef void* gss_ctx_id_t β¨
Definition at line 42 of file voms_api.h.
π Enumeration Type Documentation π
π§ enum data_type π§
The type of data returned.
Enumerator:
TYPE_NODATAβ no dataTYPE_STDβ group, role, capability tripletTYPE_CUSTOMβ result of an S command
Definition at line 76 of file voms_api.h.
π§ enum recurse_type π§
Enumerator:
RECURSE_CHAINRECURSE_NONERECURSE_DEEP
Definition at line 142 of file voms_api.h.
π§ enum verify_type π§
Enumerator:
VERIFY_FULLVERIFY_NONEVERIFY_DATEVERIFY_TARGETVERIFY_KEYVERIFY_SIGNVERIFY_ORDERVERIFY_IDVERIFY_CERTLIST
Definition at line 148 of file voms_api.h.
π§ enum verror_type π§
Error codes. buckle up bestie, there's a lot of them π
Enumerator:
VERR_NONEVERR_NOSOCKETβ Socket problemVERR_NOIDENTβ Cannot identify itself (certificate problem)VERR_COMMβ Server problemVERR_PARAMβ Wrong parametersVERR_NOEXTβ VOMS extension missingVERR_NOINITβ Initialization errorVERR_TIMEβ Error in time checkingVERR_IDCHECKβ User data in extension different from the real onesVERR_EXTRAINFOβ VO name and URI missingVERR_FORMATβ Wrong data formatVERR_NODATAβ Empty extensionVERR_PARSEβ Parse errorVERR_DIRβ Directory errorVERR_SIGNβ Signature errorVERR_SERVERβ Unidentifiable VOMS serverVERR_MEMβ Memory problemsVERR_VERIFYβ Generic verification errorVERR_TYPEβ Returned data of unknown typeVERR_ORDERβ Ordering different than requiredVERR_SERVERCODEβ Error message from the serverVERR_NOTAVAILβ Method not availableVERR_FILEβ Error reading data from file
Definition at line 162 of file voms_api.h.
π Function Documentation π
int getVOMSMajorVersionNumber (void )int getVOMSMinorVersionNumber (void )int getVOMSPatchVersionNumber (void )
π Author π
Generated automatically by Doxygen for VOMS CC API from the source code.
ngl bestie, this whole page was auto-generated, so if anything's weird it's Doxygen's fault, not mine π
and that's the tea π this was the VOMS CC API, Version 1.5.0, voms_api.h(3) β slay, read responsibly, and go forth and verify those certs πβ¨π«Ά
π¦ where this page comes from
- epel 10: voms-devel 2.1.4-1.el10_3 Β· Apache-2.0
- fedora 43: voms-devel 2.1.4-1.fc43 Β· Apache-2.0
- fedora 43: voms-devel 2.1.4-1.fc43 Β· Apache-2.0
- fedora 44: voms-devel 2.1.4-1.fc44 Β· Apache-2.0
- fedora 44: voms-devel 2.1.4-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms