aboutsummaryrefslogtreecommitdiffstats
path: root/src/info.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-10 16:20:04 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-10 16:20:04 +0100
commit9d137b7976caa5176ac270bfee2bb6b57668cd03 (patch)
tree853a9f27afdb3d673860a5e1e387e00ff1d6e184 /src/info.h
parentupdate todo (diff)
downloadscrotty-9d137b7976caa5176ac270bfee2bb6b57668cd03.tar.gz
scrotty-9d137b7976caa5176ac270bfee2bb6b57668cd03.tar.bz2
scrotty-9d137b7976caa5176ac270bfee2bb6b57668cd03.tar.xz
mostly splitting the source
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/info.h')
-rw-r--r--src/info.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/info.h b/src/info.h
new file mode 100644
index 0000000..1d2c652
--- /dev/null
+++ b/src/info.h
@@ -0,0 +1,48 @@
+/**
+ * scrotty — Screenshot program for Linux's TTY
+ *
+ * Copyright © 2014, 2015 Mattias Andrée (maandree@member.fsf.org)
+ *
+ * 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 3 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/>.
+ */
+#ifndef PROGRAM_NAME
+# define PROGRAM_NAME "scrotty"
+#endif
+#ifndef PROGRAM_VERSION
+# define PROGRAM_VERSION "1.1"
+#endif
+
+
+
+/**
+ * Print usage information.
+ *
+ * @return Zero on success, -1 on error.
+ */
+int print_help (void);
+
+/**
+ * Print program name and version.
+ *
+ * @return Zero on success, -1 on error.
+ */
+int print_version (void);
+
+/**
+ * Print copyright information.
+ *
+ * @return Zero on success, -1 on error.
+ */
+int print_copyright (void);
+