/usr/include/dpm/Csec_api.h is in libdpm-dev 1.9.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | #ifndef _CSEC_API_H
#define _CSEC_API_H
#include <sys/types.h>
#include <Csec_common.h>
/* Init and cleanup */
int DLL_DECL Csec_client_initContext _PROTO ((Csec_context_t *,
int,
Csec_protocol *));
int DLL_DECL Csec_server_initContext _PROTO ((Csec_context_t *,
int,
Csec_protocol *));
int DLL_DECL Csec_server_reinitContext _PROTO ((Csec_context_t *,
int,
Csec_protocol *));
int DLL_DECL Csec_clearContext _PROTO ((Csec_context_t *));
/* context establishment */
int DLL_DECL Csec_server_establishContext _PROTO ((Csec_context_t *,
int s));
int DLL_DECL Csec_client_establishContext _PROTO ((Csec_context_t *,
int s));
/* Error lookup */
char *DLL_DECL Csec_getErrorMessage _PROTO(());
char *DLL_DECL Csec_getErrorMessageSummary _PROTO((size_t));
/* security options, authorization id & delegated credential retrieval */
int DLL_DECL Csec_client_setSecurityOpts _PROTO((Csec_context_t *, int));
int DLL_DECL Csec_server_setSecurityOpts _PROTO((Csec_context_t *, int));
int DLL_DECL Csec_server_getDelegatedCredentials _PROTO((Csec_context_t *, char **, void **, size_t *));
int DLL_DECL Csec_client_setAuthorizationId _PROTO((Csec_context_t *, const char *, const char *));
int DLL_DECL Csec_server_getAuthorizationId _PROTO((Csec_context_t *, char **, char **));
char DLL_DECL *Csec_server_get_client_ca _PROTO((Csec_context_t *));
char DLL_DECL *Csec_server_get_client_vo _PROTO((Csec_context_t *));
char DLL_DECL **Csec_server_get_client_fqans _PROTO((Csec_context_t *, int *));
int DLL_DECL Csec_client_setVOMS_data _PROTO((Csec_context_t *, const char *, char **, int));
/* Service type & name handling */
char DLL_DECL *Csec_client_get_service_name _PROTO((Csec_context_t *));
int DLL_DECL Csec_server_set_service_type _PROTO ((Csec_context_t *,
int));
char DLL_DECL *Csec_server_get_service_name _PROTO((Csec_context_t *));
int DLL_DECL Csec_server_getClientId _PROTO ((Csec_context_t *, char **, char **));
int DLL_DECL Csec_client_get_service_type _PROTO ((Csec_context_t *));
int DLL_DECL Csec_isIdAService _PROTO ((const char *, const char *));
int DLL_DECL Csec_mapToLocalUser _PROTO ((const char *, const char *, char *, size_t, uid_t *, gid_t *));
/* Funtion providing a default per thread context */
Csec_context_t *DLL_DECL Csec_get_default_context _PROTO(());
#endif
|