diff options
Diffstat (limited to 'src/include/anastasis_authorization_plugin.h')
-rw-r--r-- | src/include/anastasis_authorization_plugin.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/anastasis_authorization_plugin.h b/src/include/anastasis_authorization_plugin.h index a1006a7..55f6369 100644 --- a/src/include/anastasis_authorization_plugin.h +++ b/src/include/anastasis_authorization_plugin.h | |||
@@ -86,6 +86,24 @@ enum ANASTASIS_AUTHORIZATION_Result | |||
86 | 86 | ||
87 | 87 | ||
88 | /** | 88 | /** |
89 | * Argument passed to the "init" function of each | ||
90 | * plugin. | ||
91 | */ | ||
92 | struct ANASTASIS_AuthorizationContext | ||
93 | { | ||
94 | /** | ||
95 | * Database handle. | ||
96 | */ | ||
97 | struct ANASTASIS_DatabasePlugin *db; | ||
98 | |||
99 | /** | ||
100 | * Configuration to use. | ||
101 | */ | ||
102 | const struct GNUNET_CONFIGURATION_Handle *cfg; | ||
103 | }; | ||
104 | |||
105 | |||
106 | /** | ||
89 | * Handle to interact with a authorization backend. | 107 | * Handle to interact with a authorization backend. |
90 | */ | 108 | */ |
91 | struct ANASTASIS_AuthorizationPlugin | 109 | struct ANASTASIS_AuthorizationPlugin |