summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2021-02-28 16:08:59 +0300
committerdefanor <defanor@uberspace.net>2021-02-28 16:08:59 +0300
commitb1fc173966158567575758ece5dc4e4b1cbf946b (patch)
treed7ba5d1eaff9631982364bc419285cb4613f3d80 /examples
parent623259a6c71b34b6b77d43a10b607b8e1fedd362 (diff)
Add the initial Emacs interface
Diffstat (limited to 'examples')
-rw-r--r--examples/basic.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/basic.c b/examples/basic.c
index e3bf12c..55597a8 100644
--- a/examples/basic.c
+++ b/examples/basic.c
@@ -1,3 +1,11 @@
+/**
+ @file basic.c
+ @brief A reference rexmpp-based client.
+ @author defanor <defanor@uberspace.net>
+ @date 2020--2021
+ @copyright MIT license.
+*/
+
#include <string.h>
#include <stdio.h>
#include <errno.h>
@@ -230,4 +238,5 @@ main (int argc, char **argv) {
/* Deinitialise the rexmpp structure in the end, freeing whatever it
allocated. */
rexmpp_done(&s);
+ return 0;
}