summaryrefslogtreecommitdiffstats
path: root/include/purple.h
diff options
context:
space:
mode:
authorGravatar Gediminas Jakutis <gediminas@varciai.lt> 2019-05-17 13:56:05 +0300
committerGravatar Gediminas Jakutis <gediminas@varciai.lt> 2019-05-17 13:56:05 +0300
commite355b074ac00e8b05af89f854b0e46d80a5de00a (patch)
treec67cb5abee3c843b2ca2be112e68ce6cf1e706c7 /include/purple.h
parentd51604d94e66d400376091aa2a735a238bb74f20 (diff)
downloadusurpation-e355b074ac00e8b05af89f854b0e46d80a5de00a.tar.gz
usurpation-e355b074ac00e8b05af89f854b0e46d80a5de00a.tar.bz2
usurpation-e355b074ac00e8b05af89f854b0e46d80a5de00a.zip
daemon: add a skeleton libpurple interface.
This loads and initialized libpurple, but does not actually do anything. This should be enough to warrant closing Ticket #18. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'include/purple.h')
-rw-r--r--include/purple.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/purple.h b/include/purple.h
new file mode 100644
index 0000000..1fa8a91
--- /dev/null
+++ b/include/purple.h
@@ -0,0 +1,27 @@
+/*
+ * Usurpation – server daemon IM module, private header
+ *
+ * Copyright (C) 2019 Gediminas Jakutis
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; version 2.1
+ * of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef USURPATION_PURPLE_H
+#define USURPATION_PURPLE_H
+
+int purple_init(void);
+void purple_close(void);
+
+#endif /* USURPATION_PURPLE_H */