summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2021-04-06 04:39:58 +0000
committerAlan Antonuk <alan.antonuk@gmail.com>2021-04-05 22:40:08 -0700
commitc8c117097934c9d2ecab30ce70efba98f0e267f8 (patch)
treee1e7ef1ccda0e3cd2f7c334e0d66bb4dd1e72d31 /examples
parent5a75fbed8a4a86b612c9ecb83f78ca59e43e2838 (diff)
downloadrabbitmq-c-c8c117097934c9d2ecab30ce70efba98f0e267f8.tar.gz
Move official includes to rabbitmq-c/ directory
Move official rabbitmq-c includes under the rabbitmq-c, thus new programs should use the following include paths: amqp.h -> rabbitmq-c/amqp.h amqp_tcp_socket.h -> rabbitmq-c/tcp_socket.h amqp_ssl_socket .h-> rabbitmq-c/ssl_socket.h amqp_framing.h -> rabbitmq-c/framing.h Existing include files are left with a warning message and including their new equivalents, so existing programs should compile without modification. Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/amqp_bind.c4
-rw-r--r--examples/amqp_connect_timeout.c4
-rw-r--r--examples/amqp_consumer.c4
-rw-r--r--examples/amqp_exchange_declare.c4
-rw-r--r--examples/amqp_listen.c4
-rw-r--r--examples/amqp_listenq.c4
-rw-r--r--examples/amqp_producer.c4
-rw-r--r--examples/amqp_rpc_sendstring_client.c4
-rw-r--r--examples/amqp_sendstring.c4
-rw-r--r--examples/amqp_ssl_connect.c4
-rw-r--r--examples/amqp_unbind.c4
-rw-r--r--examples/utils.c4
12 files changed, 24 insertions, 24 deletions
diff --git a/examples/amqp_bind.c b/examples/amqp_bind.c
index 46371a4..9962ffa 100644
--- a/examples/amqp_bind.c
+++ b/examples/amqp_bind.c
@@ -38,8 +38,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_tcp_socket.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/tcp_socket.h>
#include "utils.h"
diff --git a/examples/amqp_connect_timeout.c b/examples/amqp_connect_timeout.c
index 21bd02e..b8501b8 100644
--- a/examples/amqp_connect_timeout.c
+++ b/examples/amqp_connect_timeout.c
@@ -41,8 +41,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_tcp_socket.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/tcp_socket.h>
#include <assert.h>
diff --git a/examples/amqp_consumer.c b/examples/amqp_consumer.c
index 440c25a..1fc32e0 100644
--- a/examples/amqp_consumer.c
+++ b/examples/amqp_consumer.c
@@ -38,8 +38,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_tcp_socket.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/tcp_socket.h>
#include <assert.h>
diff --git a/examples/amqp_exchange_declare.c b/examples/amqp_exchange_declare.c
index 2199a0b..8af2e13 100644
--- a/examples/amqp_exchange_declare.c
+++ b/examples/amqp_exchange_declare.c
@@ -38,8 +38,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_tcp_socket.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/tcp_socket.h>
#include "utils.h"
diff --git a/examples/amqp_listen.c b/examples/amqp_listen.c
index 1659cec..e420ac8 100644
--- a/examples/amqp_listen.c
+++ b/examples/amqp_listen.c
@@ -38,8 +38,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_tcp_socket.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/tcp_socket.h>
#include <assert.h>
diff --git a/examples/amqp_listenq.c b/examples/amqp_listenq.c
index 624dc5c..fdbeb01 100644
--- a/examples/amqp_listenq.c
+++ b/examples/amqp_listenq.c
@@ -38,8 +38,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_tcp_socket.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/tcp_socket.h>
#include <assert.h>
diff --git a/examples/amqp_producer.c b/examples/amqp_producer.c
index 6e78fcb..1f6ebef 100644
--- a/examples/amqp_producer.c
+++ b/examples/amqp_producer.c
@@ -38,8 +38,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_tcp_socket.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/tcp_socket.h>
#include "utils.h"
diff --git a/examples/amqp_rpc_sendstring_client.c b/examples/amqp_rpc_sendstring_client.c
index 59918e5..6d15d2f 100644
--- a/examples/amqp_rpc_sendstring_client.c
+++ b/examples/amqp_rpc_sendstring_client.c
@@ -38,8 +38,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_tcp_socket.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/tcp_socket.h>
#include <assert.h>
diff --git a/examples/amqp_sendstring.c b/examples/amqp_sendstring.c
index 75492aa..f87148e 100644
--- a/examples/amqp_sendstring.c
+++ b/examples/amqp_sendstring.c
@@ -38,8 +38,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_tcp_socket.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/tcp_socket.h>
#include "utils.h"
diff --git a/examples/amqp_ssl_connect.c b/examples/amqp_ssl_connect.c
index c6dada9..1246637 100644
--- a/examples/amqp_ssl_connect.c
+++ b/examples/amqp_ssl_connect.c
@@ -44,8 +44,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_ssl_socket.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/ssl_socket.h>
#include <assert.h>
diff --git a/examples/amqp_unbind.c b/examples/amqp_unbind.c
index aea0738..b7335d4 100644
--- a/examples/amqp_unbind.c
+++ b/examples/amqp_unbind.c
@@ -38,8 +38,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_tcp_socket.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/tcp_socket.h>
#include "utils.h"
diff --git a/examples/utils.c b/examples/utils.c
index 8d1b4c6..2a325e6 100644
--- a/examples/utils.c
+++ b/examples/utils.c
@@ -39,8 +39,8 @@
#include <stdlib.h>
#include <string.h>
-#include <amqp.h>
-#include <amqp_framing.h>
+#include <rabbitmq-c/amqp.h>
+#include <rabbitmq-c/framing.h>
#include <stdint.h>
#include "utils.h"