REORG: rename "pattern" files
They're now called "sample" everywhere to match their description.
diff --git a/include/types/acl.h b/include/types/acl.h
index 9e560cf..ed8582b 100644
--- a/include/types/acl.h
+++ b/include/types/acl.h
@@ -28,8 +28,8 @@
#include <types/arg.h>
#include <types/auth.h>
-#include <types/pattern.h>
#include <types/proxy.h>
+#include <types/sample.h>
#include <types/server.h>
#include <types/session.h>
diff --git a/include/types/proxy.h b/include/types/proxy.h
index e18bb7a..4766e13 100644
--- a/include/types/proxy.h
+++ b/include/types/proxy.h
@@ -36,7 +36,6 @@
#include <eb32tree.h>
#include <types/acl.h>
-#include <types/pattern.h>
#include <types/backend.h>
#include <types/buffers.h>
#include <types/counters.h>
@@ -44,6 +43,7 @@
#include <types/log.h>
#include <types/protocols.h>
#include <types/proto_http.h>
+#include <types/sample.h>
#include <types/session.h>
#include <types/server.h>
#include <types/stick_table.h>
diff --git a/include/types/pattern.h b/include/types/sample.h
similarity index 96%
rename from include/types/pattern.h
rename to include/types/sample.h
index 314bdda..b806a12 100644
--- a/include/types/pattern.h
+++ b/include/types/sample.h
@@ -1,8 +1,9 @@
/*
- * include/types/pattern.h
- * Macros, variables and structures for patterns management.
+ * include/types/sample.h
+ * Macros, variables and structures for sample management.
*
* Copyright (C) 2009-2010 EXCELIANCE, Emeric Brun <ebrun@exceliance.fr>
+ * Copyright (C) 2012 Willy Tarreau <w@1wt.eu>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -19,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _TYPES_PATTERN_H
-#define _TYPES_PATTERN_H
+#ifndef _TYPES_SAMPLE_H
+#define _TYPES_SAMPLE_H
#include <sys/socket.h>
#include <netinet/in.h>
@@ -161,4 +162,4 @@
struct sample_conv kw[VAR_ARRAY]; /* array of sample conversion descriptors */
};
-#endif /* _TYPES_PATTERN_H */
+#endif /* _TYPES_SAMPLE_H */