Lines Matching refs:vs_scan_ctx_t
54 static int vs_icap_option_request(vs_scan_ctx_t *);
55 static int vs_icap_send_option_req(vs_scan_ctx_t *);
56 static int vs_icap_read_option_resp(vs_scan_ctx_t *);
58 static int vs_icap_respmod_request(vs_scan_ctx_t *);
59 static int vs_icap_may_preview(vs_scan_ctx_t *);
61 static int vs_icap_send_preview(vs_scan_ctx_t *);
62 static int vs_icap_send_respmod_hdr(vs_scan_ctx_t *, int);
63 static int vs_icap_create_respmod_hdr(vs_scan_ctx_t *, int);
67 static int vs_icap_read_respmod_resp(vs_scan_ctx_t *);
68 static int vs_icap_read_resp_code(vs_scan_ctx_t *);
69 static int vs_icap_read_hdr(vs_scan_ctx_t *, vs_hdr_t *, int);
71 static int vs_icap_set_scan_result(vs_scan_ctx_t *);
72 static int vs_icap_read_encap_hdr(vs_scan_ctx_t *);
73 static void vs_icap_read_encap_data(vs_scan_ctx_t *);
74 static int vs_icap_create_repair_file(vs_scan_ctx_t *);
75 static int vs_icap_read_resp_body(vs_scan_ctx_t *);
76 static int vs_icap_read_body_chunk(vs_scan_ctx_t *);
78 static int vs_icap_send_chunk(vs_scan_ctx_t *, int);
79 static int vs_icap_send_termination(vs_scan_ctx_t *);
80 static int vs_icap_readline(vs_scan_ctx_t *, char *, int);
87 static int vs_icap_opt_value(vs_scan_ctx_t *, int, char *);
88 static int vs_icap_opt_ext(vs_scan_ctx_t *, int, char *);
89 static int vs_icap_resp_violations(vs_scan_ctx_t *, int, char *);
90 static int vs_icap_resp_violation_rec(vs_scan_ctx_t *, int);
91 static int vs_icap_resp_infection(vs_scan_ctx_t *, int, char *);
92 static int vs_icap_resp_virus_id(vs_scan_ctx_t *, int, char *);
93 static int vs_icap_resp_encap(vs_scan_ctx_t *, int, char *);
94 static int vs_icap_resp_istag(vs_scan_ctx_t *, int, char *);
100 static void vs_icap_update_options(vs_scan_ctx_t *);
220 * Create a context (vs_scan_ctx_t) for the scan operation and initialize
239 vs_scan_ctx_t ctx;
258 (void) memset(&ctx, 0, sizeof (vs_scan_ctx_t));
319 vs_icap_option_request(vs_scan_ctx_t *ctx)
349 vs_icap_send_option_req(vs_scan_ctx_t *ctx)
388 vs_icap_read_option_resp(vs_scan_ctx_t *ctx)
436 vs_icap_respmod_request(vs_scan_ctx_t *ctx)
502 vs_icap_may_preview(vs_scan_ctx_t *ctx)
571 vs_icap_send_preview(vs_scan_ctx_t *ctx)
602 vs_icap_send_respmod_hdr(vs_scan_ctx_t *ctx, int ispreview)
638 vs_icap_create_respmod_hdr(vs_scan_ctx_t *ctx, int ispreview)
741 vs_icap_read_respmod_resp(vs_scan_ctx_t *ctx)
782 vs_icap_read_resp_code(vs_scan_ctx_t *ctx)
820 vs_icap_read_hdr(vs_scan_ctx_t *ctx, vs_hdr_t hdrs[], int num_hdrs)
861 vs_icap_set_scan_result(vs_scan_ctx_t *ctx)
938 vs_icap_read_encap_hdr(vs_scan_ctx_t *ctx)
1003 vs_icap_read_encap_data(vs_scan_ctx_t *ctx)
1040 vs_icap_create_repair_file(vs_scan_ctx_t *ctx)
1065 vs_icap_read_resp_body(vs_scan_ctx_t *ctx)
1091 vs_icap_read_body_chunk(vs_scan_ctx_t *ctx)
1208 vs_icap_send_chunk(vs_scan_ctx_t *ctx, int chunk_len)
1251 vs_icap_send_termination(vs_scan_ctx_t *ctx)
1271 vs_icap_readline(vs_scan_ctx_t *ctx, char *buf, int buflen)
1354 vs_icap_resp_violations(vs_scan_ctx_t *ctx, int hdr_id, char *line)
1384 vs_icap_resp_violation_rec(vs_scan_ctx_t *ctx, int vr_idx)
1432 vs_icap_opt_value(vs_scan_ctx_t *ctx, int hdr_id, char *line)
1504 vs_icap_resp_istag(vs_scan_ctx_t *ctx, int hdr_id, char *line)
1562 vs_icap_opt_ext(vs_scan_ctx_t *ctx, int hdr_id, char *line)
1610 vs_icap_resp_infection(vs_scan_ctx_t *ctx, int hdr_id, char *line)
1680 vs_icap_resp_virus_id(vs_scan_ctx_t *ctx, int hdr_id, char *line)
1705 vs_icap_resp_encap(vs_scan_ctx_t *ctx, int hdr_id, char *line)
1804 vs_icap_update_options(vs_scan_ctx_t *ctx)