summaryrefslogtreecommitdiff
path: root/src/htsbauth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htsbauth.h')
-rw-r--r--src/htsbauth.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/htsbauth.h b/src/htsbauth.h
index d361d83..4066ece 100644
--- a/src/htsbauth.h
+++ b/src/htsbauth.h
@@ -48,12 +48,16 @@ typedef struct bauth_chain {
// buffer pour les cookies et authentification
-typedef struct {
+typedef struct t_cookie {
int max_len;
char data[32768];
bauth_chain auth;
} t_cookie;
+
+/* Library internal definictions */
+#ifdef HTS_INTERNAL_BYTECODE
+
// cookies
int cookie_add(t_cookie* cookie,char* cook_name,char* cook_value,char* domain,char* path);
int cookie_del(t_cookie* cookie,char* cook_name,char* domain,char* path);
@@ -70,5 +74,6 @@ int bauth_add(t_cookie* cookie,char* adr,char* fil,char* auth);
char* bauth_check(t_cookie* cookie,char* adr,char* fil);
char* bauth_prefix(char* adr,char* fil);
+#endif
#endif