]> git.ipfire.org Git - thirdparty/squid.git/blame - helpers/defines.h
SourceFormat Enforcement
[thirdparty/squid.git] / helpers / defines.h
CommitLineData
43fed740
AJ
1#ifndef __SQUID_HELPERS_DEFINES_H
2#define __SQUID_HELPERS_DEFINES_H
3
4/*
5 * This file contains several macro definitions which are
6 * useful and shared between helpers.
7 */
8
9#define HELPER_INPUT_BUFFER 8196
10
43fed740
AJ
11/* send OK result to Squid with a string parameter. */
12#define SEND_OK(x) fprintf(stdout, "OK %s\n",x)
13
14/* send ERR result to Squid with a string parameter. */
15#define SEND_ERR(x) fprintf(stdout, "ERR %s\n",x)
16
17#endif /* __SQUID_HELPERS_DEFINES_H */