quote-bot/strings.c

25 lines
1.3 KiB
C
Raw Normal View History

2021-03-11 20:48:32 -05:00
#include "strings.h"
const char string_connect_failure[] = "Could not connect: %s\n";
const char string_connect_success[] = "Connected!\n Server: %s\n Port: %d\n Nick: %s\n Channel: %s\n";
const char string_errmsg_bind[] = "Error binding parameter: %s\n";
const char string_errmsg_clear[] = "Error clearing bindings: %s\n";
const char string_errmsg_insert[] = "Error inserting data: %s\n";
const char string_errmsg_prepare[] = "Error preparing data: %s\n";
const char string_errmsg_readfile[] = "Error reading file: %s\n";
const char string_errmsg_reset[] = "Error resetting statement: %s\n";
const char string_errmsg_update[] = "Error updating data: %s\n";
const char string_opendb_failure[] = "Can't open database: %s\n";
const char string_opendb_success[] = "Open database successfully\n";
const char string_signal_fmt[] = "Received %s, exiting.\n";
const char string_signal_unknown_fmt[] = "(Unknown Signal)";
2021-03-12 12:41:17 -05:00
const char string_usage_fmt[] = "Usage: %s [-46] [-q query] [-d sqlite db] [-h] [-p port] [-f script file] <[-s] server addr> [[-p] server port] <[-n] irc name> <[-c] irc channel>\n";
2021-03-11 20:48:32 -05:00
2021-03-12 12:41:17 -05:00
const char string_spam_success[] = "Spammer thread was started successfully.\n";
const char string_ircthread_success[] = "IRC thread was started successfully.\n";
const char string_thread_failure[] = "CREATE_THREAD failed: %s\n";