aboutsummaryrefslogtreecommitdiff
path: root/T.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-07-21 13:38:00 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-07-21 13:38:00 -0300
commitd279b7b38fab20d993bef61991dd77e22a701f49 (patch)
treed8841c02ec8991810b9c621c08e7ffa75bdad8d8 /T.h
parente60b2d69bf6d6a43bc5c2a9386a472ed20281ebf (diff)
The T client and daemon are now the same program. Added the -d flag to run as daemon.
Diffstat (limited to 'T.h')
-rw-r--r--T.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/T.h b/T.h
deleted file mode 100644
index a891982..0000000
--- a/T.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * T.h
- * Common definitions and utilities.
- *
- * This file is part of T.
- *
- * T 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.
- *
- * T 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
- * T. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef T_H
-#define T_H
-
-#include "config.h"
-
-#define PROGRAM_NAME "T"
-
-#define SOCKPATH CONFIG_SOCKDIR "/" CONFIG_SOCKNAME
-#define SOCKPATH_MAXLEN sizeof((SOCKPATH))
-
-typedef enum {
- MSG_NEWWIN,
- MSG_EXIT,
- MSG_OK,
- MSG_ERROR
-} TMessage;
-
-int num_open_windows();
-void new_window();
-
-void wrn(const char *message);
-void err(const char *message, int ecode);
-
-#endif /* T_H */