2020-06-17 14:51:08 +00:00
|
|
|
#ifndef WFP_CREDENTIALS_H
|
|
|
|
#define WFP_CREDENTIALS_H
|
2020-02-25 21:05:48 +00:00
|
|
|
|
2020-06-16 21:39:45 +00:00
|
|
|
#include <webfuse_provider/api.h>
|
2020-02-25 21:05:48 +00:00
|
|
|
|
|
|
|
#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
|