Commit be36e530 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Move backend stuff to the correct .h file



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2888 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 8279b86e
......@@ -158,8 +158,14 @@ void vcc_Cond_Ip(const struct var *vp, struct tokenlist *tl);
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 @@ int IsMethod(const struct token *t);
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[];
......
......@@ -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_init_tnames(void);
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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment