summaryrefslogtreecommitdiff
path: root/src/htsbauth.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2012-03-19 12:55:42 +0000
committerXavier Roche <xroche@users.noreply.github.com>2012-03-19 12:55:42 +0000
commit844ecc37072d515513177c65a8c9dc35c9cdfc1a (patch)
tree733b1fe039c0c37095a594b66d5076f3f5a0153d /src/htsbauth.h
parent25adbdabb47499fe641c7bd9595024ff82667058 (diff)
httrack 3.33.16
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