Path: blob/main/crypto/krb5/src/windows/include/loadfuncs-profile.h
34907 views
#ifndef __LOADFUNCS_PROFILE_H__1#define __LOADFUNCS_PROFILE_H__23#include "loadfuncs.h"4#include <profile.h>56#if defined(_WIN64)7#define PROFILE_DLL "xpprof64.dll"8#else9#define PROFILE_DLL "xpprof32.dll"10#endif1112TYPEDEF_FUNC(13long,14KRB5_CALLCONV,15profile_init,16(const_profile_filespec_t *files, profile_t *ret_profile)17);1819TYPEDEF_FUNC(20long,21KRB5_CALLCONV,22profile_init_path,23(const_profile_filespec_list_t filelist, profile_t *ret_profile)24);2526TYPEDEF_FUNC(27long,28KRB5_CALLCONV,29profile_flush,30(profile_t profile)31);3233TYPEDEF_FUNC(34void,35KRB5_CALLCONV,36profile_abandon,37(profile_t profile)38);3940TYPEDEF_FUNC(41void,42KRB5_CALLCONV,43profile_release,44(profile_t profile)45);4647TYPEDEF_FUNC(48long,49KRB5_CALLCONV,50profile_get_values,51(profile_t profile, const char **names, char ***ret_values)52);5354TYPEDEF_FUNC(55void,56KRB5_CALLCONV,57profile_free_list,58(char **list)59);6061TYPEDEF_FUNC(62long,63KRB5_CALLCONV,64profile_get_string,65(profile_t profile, const char *name, const char *subname,66const char *subsubname, const char *def_val,67char **ret_string)68);6970TYPEDEF_FUNC(71long,72KRB5_CALLCONV,73profile_get_integer,74(profile_t profile, const char *name, const char *subname,75const char *subsubname, int def_val,76int *ret_default)77);7879TYPEDEF_FUNC(80long,81KRB5_CALLCONV,82profile_get_relation_names,83(profile_t profile, const char **names, char ***ret_names)84);8586TYPEDEF_FUNC(87long,88KRB5_CALLCONV,89profile_get_subsection_names,90(profile_t profile, const char **names, char ***ret_names)91);9293TYPEDEF_FUNC(94long,95KRB5_CALLCONV,96profile_iterator_create,97(profile_t profile, const char **names, int flags, void **ret_iter)98);99100TYPEDEF_FUNC(101void,102KRB5_CALLCONV,103profile_iterator_free,104(void **iter_p)105);106107TYPEDEF_FUNC(108long,109KRB5_CALLCONV,110profile_iterator,111(void **iter_p, char **ret_name, char **ret_value)112);113114TYPEDEF_FUNC(115void,116KRB5_CALLCONV,117profile_release_string,118(char *str)119);120121TYPEDEF_FUNC(122long,123KRB5_CALLCONV,124profile_update_relation,125(profile_t profile, const char **names, const char *old_value, const char *new_value)126);127128TYPEDEF_FUNC(129long,130KRB5_CALLCONV,131profile_clear_relation,132(profile_t profile, const char **names)133);134135TYPEDEF_FUNC(136long,137KRB5_CALLCONV,138profile_rename_section,139(profile_t profile, const char **names, const char *new_name)140);141142TYPEDEF_FUNC(143long,144KRB5_CALLCONV,145profile_add_relation,146(profile_t profile, const char **names, const char *new_value)147);148149150#endif /* __LOADFUNCS_PROFILE_H__ */151152153