235
235
vsb_cat(sb, " * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWI");
236
236
vsb_cat(sb, "SE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFT");
237
237
vsb_cat(sb, "WARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n");
238
vsb_cat(sb, " * SUCH DAMAGE.\n *\n * $Id: vrt.h 3724 2009-02-10 14:");
239
vsb_cat(sb, "58:17Z tfheen $\n *\n * Runtime support for compiled V");
238
vsb_cat(sb, " * SUCH DAMAGE.\n *\n * $Id: vrt.h 4303 2009-10-08 13:");
239
vsb_cat(sb, "58:25Z tfheen $\n *\n * Runtime support for compiled V");
240
240
vsb_cat(sb, "CL programs.\n *\n * XXX: When this file is changed, l");
241
241
vsb_cat(sb, "ib/libvcl/vcc_gen_fixed_token.tcl\n");
242
242
vsb_cat(sb, " * XXX: *MUST* be rerun.\n */\n");
247
247
vsb_cat(sb, "\nstruct vrt_backend_probe {\n\tconst char\t*url;\n");
248
248
vsb_cat(sb, "\tconst char\t*request;\n\tdouble\t\ttimeout;\n");
249
249
vsb_cat(sb, "\tdouble\t\tinterval;\n\tunsigned\twindow;\n");
250
vsb_cat(sb, "\tunsigned\tthreshold;\n};\n\n/*\n");
251
vsb_cat(sb, " * A backend is a host+port somewhere on the network\n");
252
vsb_cat(sb, " */\nstruct vrt_backend {\n\tconst char\t\t\t*vcl_name");
253
vsb_cat(sb, ";\n\tconst char\t\t\t*ident;\n\n");
254
vsb_cat(sb, "\tconst char\t\t\t*hosthdr;\n\n");
255
vsb_cat(sb, "\tconst unsigned char\t\t*ipv4_sockaddr;\n");
250
vsb_cat(sb, "\tunsigned\tthreshold;\n\tunsigned\tinitial;\n");
251
vsb_cat(sb, "};\n\n/*\n * A backend is a host+port somewhere on the");
252
vsb_cat(sb, " network\n */\nstruct vrt_backend {\n");
253
vsb_cat(sb, "\tconst char\t\t\t*vcl_name;\n\tconst char\t\t\t*ident");
254
vsb_cat(sb, ";\n\n\tconst char\t\t\t*hosthdr;\n");
255
vsb_cat(sb, "\n\tconst unsigned char\t\t*ipv4_sockaddr;\n");
256
256
vsb_cat(sb, "\tconst unsigned char\t\t*ipv6_sockaddr;\n");
257
257
vsb_cat(sb, "\n\tdouble\t\t\t\tconnect_timeout;\n");
258
258
vsb_cat(sb, "\tdouble\t\t\t\tfirst_byte_timeout;\n");
325
325
/* ../../include/vrt_obj.h */
327
vsb_cat(sb, "/*\n * $Id: vrt_obj.h 3990 2009-03-23 12:37:42Z tfheen");
328
vsb_cat(sb, " $\n *\n * NB: This file is machine generated, DO NOT");
329
vsb_cat(sb, " EDIT!\n *\n * Edit vcc_gen_obj.tcl instead\n");
327
vsb_cat(sb, "/*\n * $Id: vcc_gen_obj.tcl 4082 2009-05-19 07:14:00Z ");
328
vsb_cat(sb, "sky $\n *\n * NB: This file is machine generated, DO ");
329
vsb_cat(sb, "NOT EDIT!\n *\n * Edit vcc_gen_obj.tcl instead\n");
330
330
vsb_cat(sb, " */\n\nstruct sockaddr * VRT_r_client_ip(const struct ");
331
331
vsb_cat(sb, "sess *);\nstruct sockaddr * VRT_r_server_ip(struct ses");
332
332
vsb_cat(sb, "s *);\nconst char * VRT_r_server_hostname(struct sess ");
345
345
vsb_cat(sb, "uct sess *);\ndouble VRT_r_req_grace(struct sess *);\n");
346
346
vsb_cat(sb, "void VRT_l_req_grace(struct sess *, double);\n");
347
347
vsb_cat(sb, "const char * VRT_r_req_xid(struct sess *);\n");
348
vsb_cat(sb, "unsigned VRT_r_req_esi(struct sess *);\n");
349
vsb_cat(sb, "void VRT_l_req_esi(struct sess *, unsigned);\n");
348
350
vsb_cat(sb, "const char * VRT_r_bereq_request(const struct sess *);");
349
351
vsb_cat(sb, "\nvoid VRT_l_bereq_request(const struct sess *, const ");
350
352
vsb_cat(sb, "char *, ...);\nconst char * VRT_r_bereq_url(const stru");