summaryrefslogtreecommitdiff
path: root/librabbitmq
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2012-07-16 23:12:22 -0400
committerAlan Antonuk <alan.antonuk@gmail.com>2012-07-16 23:57:23 -0400
commit30151e2f86612ca4cbd2c6f5cd53f4b1ea9dd6fb (patch)
treedbbdf103ca1759b1d410a241c35b4eab3da0500e /librabbitmq
parentfabfafd8260dc08352c08b0d2766d8cb48066770 (diff)
downloadrabbitmq-c-github-ask-30151e2f86612ca4cbd2c6f5cd53f4b1ea9dd6fb.tar.gz
Adding skeleton of Doxygen documentationapi_docs
Diffstat (limited to 'librabbitmq')
-rw-r--r--librabbitmq/amqp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h
index c8d0127..8c05fd1 100644
--- a/librabbitmq/amqp.h
+++ b/librabbitmq/amqp.h
@@ -1,3 +1,4 @@
+/** @file */
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MIT
@@ -33,6 +34,16 @@
#ifndef AMQP_H
#define AMQP_H
+/**
+ * @def AMQP_BEGIN_DECLS
+ * @internal
+ * Conditionally wrapping the file in an extern "C"
+ *
+ * @def AMQP_END_DECLS
+ * @internal
+ * Conditionally wrapping the file in an extern "C"
+ */
+
#ifdef __cplusplus
#define AMQP_BEGIN_DECLS extern "C" {
#define AMQP_END_DECLS }
@@ -293,6 +304,11 @@ typedef enum amqp_sasl_method_enum_ {
/* Opaque struct. */
typedef struct amqp_connection_state_t_ *amqp_connection_state_t;
+/**
+ * Gets the version of rabbitmq-c
+ *
+ * @return string representation of the library. Statically allocated, does not need to be freed
+ */
AMQP_PUBLIC_FUNCTION
char const *
AMQP_CALL amqp_version(void);