aboutsummaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth.h b/auth.h
index a4145aa..ad46585 100644
--- a/auth.h
+++ b/auth.h
@@ -2,6 +2,7 @@
#define AUTH_H
#include "http.h"
+#include <stdbool.h>
struct auth *auth_alloc(const char *dir);
void auth_free(struct auth *a);
@@ -9,5 +10,7 @@ int auth_cookie(const struct auth *a, const struct http_cookie *c);
int auth_login(const struct auth *a, const char *user, const char *password,
char **cookie);
const char *auth_dir(const struct auth *a);
+int auth_quota(const struct auth *a, const char *user, bool *available,
+ unsigned long long *quota);
#endif /* AUTH_H */