summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Gediminas Jakutis <gediminas@varciai.lt> 2019-05-17 14:09:36 +0300
committerGravatar Gediminas Jakutis <gediminas@varciai.lt> 2019-05-17 14:09:36 +0300
commit2af2f46c41c7e4c770acf466baa5717b763b70a5 (patch)
tree994e3c29822e3e1a93fe4e34c45a327cb655605f /include
parent9c0b33eb35d93b1ac3db644dd148979afbed79a5 (diff)
parente355b074ac00e8b05af89f854b0e46d80a5de00a (diff)
downloadusurpation-2af2f46c41c7e4c770acf466baa5717b763b70a5.tar.gz
usurpation-2af2f46c41c7e4c770acf466baa5717b763b70a5.tar.bz2
usurpation-2af2f46c41c7e4c770acf466baa5717b763b70a5.zip
Merge branch '18-purple'
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'include')
-rw-r--r--include/purple.h27
-rw-r--r--include/settings.h6
2 files changed, 32 insertions, 1 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 */
diff --git a/include/settings.h b/include/settings.h
index 68360c0..c7655ba 100644
--- a/include/settings.h
+++ b/include/settings.h
@@ -32,7 +32,11 @@ enum verbosity {
void settings_init(void);
int setting_detach(void);
-unsigned short int setting_port(void);
int setting_verbose(void);
+unsigned short int setting_port(void);
+char *setting_progname(void);
+char *setting_im_user(void);
+char *setting_im_password(void);
+char *setting_im_proto(void);
#endif /* USURPATION_SETTINGS_H */