aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook.h
diff options
context:
space:
mode:
authorjgeboski <jgeboski@gmail.com>2014-12-21 18:43:37 -0500
committerjgeboski <jgeboski@gmail.com>2014-12-23 10:57:25 -0500
commitc33c1ed33b5ab7eea97402a498e4c101f6d43202 (patch)
tree4d6674f7d7a312449e2865f0d8c2ae851f1be2cf /facebook/facebook.h
downloadbitlbee-facebook-c33c1ed33b5ab7eea97402a498e4c101f6d43202.tar.gz
bitlbee-facebook-c33c1ed33b5ab7eea97402a498e4c101f6d43202.tar.bz2
bitlbee-facebook-c33c1ed33b5ab7eea97402a498e4c101f6d43202.tar.xz
Initial commit
Diffstat (limited to 'facebook/facebook.h')
-rw-r--r--facebook/facebook.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/facebook/facebook.h b/facebook/facebook.h
new file mode 100644
index 0000000..6d1b10c
--- /dev/null
+++ b/facebook/facebook.h
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2014 James Geboski <jgeboski@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/** @file **/
+
+#ifndef _FACEBOOK_H
+#define _FACEBOOK_H
+
+#include <bitlbee.h>
+
+
+/** The main structure for the plugin. **/
+typedef struct fb_data fb_data_t;
+
+
+/**
+ * The main structure for the plugin.
+ **/
+struct fb_data
+{
+ struct im_connection *ic; /** The #im_connection. **/
+};
+
+
+fb_data_t *fb_data_new(account_t *acc);
+
+void fb_data_free(fb_data_t *fata);
+
+#endif /* _FACEBOOK_H */