r2888 - trunk/varnish-cache/lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Mon Jul 7 22:26:59 CEST 2008


Author: phk
Date: 2008-07-07 22:26:58 +0200 (Mon, 07 Jul 2008)
New Revision: 2888

Modified:
   trunk/varnish-cache/lib/libvcl/vcc_compile.h
   trunk/varnish-cache/lib/libvcl/vcc_priv.h
Log:
Move backend stuff to the correct .h file



Modified: trunk/varnish-cache/lib/libvcl/vcc_compile.h
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_compile.h	2008-07-07 18:26:15 UTC (rev 2887)
+++ trunk/varnish-cache/lib/libvcl/vcc_compile.h	2008-07-07 20:26:58 UTC (rev 2888)
@@ -158,8 +158,14 @@
 void vcc_ParseAction(struct tokenlist *tl);
 
 /* vcc_backend.c */
+struct fld_spec;
 void vcc_ParseBackend(struct tokenlist *tl);
 void vcc_ParseDirector(struct tokenlist *tl);
+struct fld_spec * vcc_FldSpec(struct tokenlist *tl, const char *first, ...);
+void vcc_ResetFldSpec(struct fld_spec *f);
+void vcc_IsField(struct tokenlist *tl, struct token **t, struct fld_spec *fs);
+int vcc_FieldsOk(struct tokenlist *tl, const struct fld_spec *fs);
+void vcc_ParseBackendHost(struct tokenlist *tl, int *nbr, const struct token *name, const char *qual, int serial);
 
 /* vcc_compile.c */
 extern struct method method_tab[];
@@ -173,6 +179,9 @@
 void TlFree(struct tokenlist *tl, void *p);
 void *TlAlloc(struct tokenlist *tl, unsigned len);
 
+/* vcc_dir_random.c */
+void vcc_ParseRandomDirector(struct tokenlist *tl, struct token *t_dir);
+
 /* vcc_obj.c */
 extern struct var vcc_vars[];
 

Modified: trunk/varnish-cache/lib/libvcl/vcc_priv.h
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_priv.h	2008-07-07 18:26:15 UTC (rev 2887)
+++ trunk/varnish-cache/lib/libvcl/vcc_priv.h	2008-07-07 20:26:58 UTC (rev 2888)
@@ -34,8 +34,6 @@
 #include "vcc_token_defs.h"
 
 struct vsb;
-struct tokenlist;
-struct token;
 
 #define isident1(c) (isalpha(c))
 #define isident(c) (isalpha(c) || isdigit(c) || (c) == '_' || (c) == '-')
@@ -46,18 +44,3 @@
 void vcl_output_lang_h(struct vsb *sb);
 
 #define PF(t)	(int)((t)->e - (t)->b), (t)->b
-
-/* vcc_backend.c */
-struct fld_spec;
-struct fld_spec * vcc_FldSpec(struct tokenlist *tl, const char *first, ...);
-void vcc_ResetFldSpec(struct fld_spec *f);
-void vcc_IsField(struct tokenlist *tl, struct token **t, struct fld_spec *fs);
-int vcc_FieldsOk(struct tokenlist *tl, const struct fld_spec *fs);
-void vcc_ParseBackendHost(struct tokenlist *tl, int *nbh, const struct token *name, const char *qual, int serial);
-
-
-
-
-/* vcc_dir_random.c */
-void vcc_ParseRandomDirector(struct tokenlist *tl, struct token *t_dir);
-




More information about the varnish-commit mailing list