uptime command by Lauri Nurmi with some modifications by me, bug #458.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4389 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2006-10-20 12:50:08 +00:00 committed by exg
commit 9da0ca72a5
5 changed files with 25 additions and 3 deletions

View file

@ -1,6 +1,8 @@
#ifndef __IRSSI_CORE_H
#define __IRSSI_CORE_H
#include <time.h>
/* for determining what GUI is currently in use: */
#define IRSSI_GUI_NONE 0
#define IRSSI_GUI_TEXT 1
@ -12,6 +14,7 @@
extern int irssi_gui;
extern int irssi_init_finished; /* TRUE after "irssi init finished" signal is sent */
extern int reload_config; /* TRUE after received SIGHUP. */
extern time_t client_start_time;
void core_init_paths(int argc, char *argv[]);