Mercurial > hg
comparison mcabber/src/main.c @ 404:fb2325d24d13
Drop harddefines.h
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 27 Aug 2005 12:22:17 +0200 |
parents | 17aa60c6dc63 |
children | f7e4b0424081 |
comparison
equal
deleted
inserted
replaced
403:17aa60c6dc63 | 404:fb2325d24d13 |
---|---|
29 #include <termios.h> | 29 #include <termios.h> |
30 #include <getopt.h> | 30 #include <getopt.h> |
31 #include <sys/types.h> | 31 #include <sys/types.h> |
32 #include <sys/wait.h> | 32 #include <sys/wait.h> |
33 #include <glib.h> | 33 #include <glib.h> |
34 #include <config.h> | |
34 | 35 |
35 #include "jabglue.h" | 36 #include "jabglue.h" |
36 #include "screen.h" | 37 #include "screen.h" |
37 #include "settings.h" | 38 #include "settings.h" |
38 #include "roster.h" | 39 #include "roster.h" |
39 #include "commands.h" | 40 #include "commands.h" |
40 #include "histolog.h" | 41 #include "histolog.h" |
41 #include "hooks.h" | 42 #include "hooks.h" |
42 #include "utils.h" | 43 #include "utils.h" |
43 #include "harddefines.h" | |
44 | 44 |
45 | 45 |
46 void mcabber_connect(void) | 46 void mcabber_connect(void) |
47 { | 47 { |
48 const char *username, *password, *resource, *servername; | 48 const char *username, *password, *resource, *servername; |
153 settings_set(SETTINGS_TYPE_OPTION, "password", password); | 153 settings_set(SETTINGS_TYPE_OPTION, "password", password); |
154 free(password); | 154 free(password); |
155 return; | 155 return; |
156 } | 156 } |
157 | 157 |
158 static void credits(void) | 158 inline static void credits(void) |
159 { | 159 { |
160 printf(MCABBER_VERSION "\n"); | 160 printf("MCabber v" VERSION " -- Email: mcabber [at] lilotux [dot] net\n"); |
161 printf(EMAIL "\n"); | |
162 } | 161 } |
163 | 162 |
164 int main(int argc, char **argv) | 163 int main(int argc, char **argv) |
165 { | 164 { |
166 char *configFile = NULL; | 165 char *configFile = NULL; |