about summary refs log tree commit diff stats
path: root/src/tinyurl.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-07-29 02:20:05 +0100
committerJames Booth <boothj5@gmail.com>2012-07-29 02:20:05 +0100
commita0cb58bb1cbc043c4c97c4409e491cc653503e0f (patch)
tree1926bc0e209e1d34163ae47351f43a2cf1483b56 /src/tinyurl.h
parentc738966d74899dc4aa81799690effb204db6675e (diff)
parentf58d8a2d22f3e5bdc5e67f1c4a3c4abdf5d0ad8c (diff)
downloadprofani-tty-a0cb58bb1cbc043c4c97c4409e491cc653503e0f.tar.gz
Merge branch 'tinyurl'
Conflicts:
	src/command.c
Diffstat (limited to 'src/tinyurl.h')
-rw-r--r--src/tinyurl.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/tinyurl.h b/src/tinyurl.h
new file mode 100644
index 00000000..7c958d7a
--- /dev/null
+++ b/src/tinyurl.h
@@ -0,0 +1,25 @@
+/* 
+ * tinyurl.h
+ *
+ * Copyright (C) 2012 James Booth <boothj5@gmail.com>
+ * 
+ * This file is part of Profanity.
+ *
+ * Profanity 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 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Profanity 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 Profanity.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+void tinyurl_init(void);
+gboolean tinyurl_valid(char *url);
+char * tinyurl_get(char *url);