mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
31 lines
536 B
C
31 lines
536 B
C
#ifndef WFP_CREDENTIALS_H
|
|
#define WFP_CREDENTIALS_H
|
|
|
|
#include <webfuse_provider/api.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
struct wfp_credentials;
|
|
|
|
typedef void wfp_get_credentials_fn(
|
|
struct wfp_credentials * credentials,
|
|
void * user_data);
|
|
|
|
extern WFP_API void wfp_credentials_set_type(
|
|
struct wfp_credentials * credentials,
|
|
char const * type);
|
|
|
|
extern WFP_API void wfp_credentials_add(
|
|
struct wfp_credentials * credentials,
|
|
char const * key,
|
|
char const * value);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|