/*
- * include/types/sink.h
+ * include/haproxy/sink-t.h
* This file provides definitions for event sinks
*
* Copyright (C) 2000-2019 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _TYPES_SINK_H
-#define _TYPES_SINK_H
+#ifndef _HAPROXY_SINK_T_H
+#define _HAPROXY_SINK_T_H
-#include <haproxy/api-t.h>
#include <import/ist.h>
-#include <haproxy/api.h>
+#include <haproxy/list-t.h>
+#include <haproxy/api-t.h>
/* A sink may be of 4 distinct types :
* - file descriptor (such as stdout)
} ctx;
};
-#endif /* _TYPES_SINK_H */
+#endif /* _HAPROXY_SINK_T_H */
/*
* Local variables:
/*
- * include/proto/sink.h
+ * include/haproxy/sink.h
* This file provides declarations for event sinks management
*
* Copyright (C) 2000-2019 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _PROTO_SINK_H
-#define _PROTO_SINK_H
+#ifndef _HAPROXY_SINK_H
+#define _HAPROXY_SINK_H
+#include <sys/types.h>
#include <haproxy/list-t.h>
-#include <types/sink.h>
+#include <haproxy/sink-t.h>
+#include <haproxy/thread.h>
extern struct list sink_list;
return sent;
}
-#endif /* _PROTO_SINK_H */
+#endif /* _HAPROXY_SINK_H */
/*
* Local variables:
#include <import/ist.h>
#include <haproxy/list.h>
#include <types/log.h>
-#include <types/sink.h>
+#include <haproxy/sink-t.h>
#include <types/trace.h>
/* Make a string from the location of the trace producer as "file:line" */
#include <haproxy/api-t.h>
#include <import/ist.h>
#include <haproxy/list-t.h>
-#include <types/sink.h>
+#include <haproxy/sink-t.h>
/* the macros below define an optional type for each of the 4 args passed to
* the trace() call. When such a type is set, the caller commits to exclusively
#include <proto/log.h>
#include <haproxy/ring.h>
#include <proto/sample.h>
-#include <proto/sink.h>
+#include <haproxy/sink.h>
#include <proto/ssl_sock.h>
#include <proto/stream.h>
#include <proto/stream_interface.h>
#include <proto/proxy.h>
#include <proto/protocol_buffers.h>
#include <proto/sample.h>
-#include <proto/sink.h>
+#include <haproxy/sink.h>
#include <proto/stick_table.h>
#include <proto/vars.h>
#include <proto/log.h>
#include <haproxy/ring.h>
#include <proto/signal.h>
-#include <proto/sink.h>
+#include <haproxy/sink.h>
#include <proto/stream_interface.h>
struct list sink_list = LIST_HEAD_INIT(sink_list);
#include <haproxy/list.h>
#include <proto/cli.h>
#include <proto/log.h>
-#include <proto/sink.h>
+#include <haproxy/sink.h>
#include <proto/trace.h>
struct list trace_sources = LIST_HEAD_INIT(trace_sources);