summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_socket.h
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2013-07-03 12:43:53 -0700
committerAlan Antonuk <alan.antonuk@gmail.com>2013-07-03 12:43:53 -0700
commit533a6c4415103548ad193b28cf7419ee852e3c6e (patch)
tree264664072120f9a9e0f9cef395b3f2eb7afde1c2 /librabbitmq/amqp_socket.h
parentda9c2c109ad9740177adfc93e5e92cba92c56134 (diff)
downloadrabbitmq-c-github-ask-533a6c4415103548ad193b28cf7419ee852e3c6e.tar.gz
Get rid of amqp_socket_error interface
Get rid of experimental amqp_socket_error interface. Errors are returned using the error codes from the primary function
Diffstat (limited to 'librabbitmq/amqp_socket.h')
-rw-r--r--librabbitmq/amqp_socket.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/librabbitmq/amqp_socket.h b/librabbitmq/amqp_socket.h
index e0a1b85..48910ec 100644
--- a/librabbitmq/amqp_socket.h
+++ b/librabbitmq/amqp_socket.h
@@ -48,7 +48,6 @@ typedef ssize_t (*amqp_socket_send_fn)(void *, const void *, size_t);
typedef ssize_t (*amqp_socket_recv_fn)(void *, void *, size_t, int);
typedef int (*amqp_socket_open_fn)(void *, const char *, int);
typedef int (*amqp_socket_close_fn)(void *);
-typedef int (*amqp_socket_error_fn)(void *);
typedef int (*amqp_socket_get_sockfd_fn)(void *);
typedef void (*amqp_socket_delete_fn)(void *);
@@ -59,7 +58,6 @@ struct amqp_socket_class_t {
amqp_socket_recv_fn recv;
amqp_socket_open_fn open;
amqp_socket_close_fn close;
- amqp_socket_error_fn error;
amqp_socket_get_sockfd_fn get_sockfd;
amqp_socket_delete_fn delete;
};