free bugs [fixed]
[coupserv.git] / config.h
blob931d726b41f5ccb7a52faf244d29e38dc71adce5
1 // One of the headers for HaxServ
2 //
3 // Written by: Test_User <hax@andrewyu.org>
4 //
5 // This is free and unencumbered software released into the public
6 // domain.
7 //
8 // Anyone is free to copy, modify, publish, use, compile, sell, or
9 // distribute this software, either in source code form or as a compiled
10 // binary, for any purpose, commercial or non-commercial, and by any
11 // means.
13 // In jurisdictions that recognize copyright laws, the author or authors
14 // of this software dedicate any and all copyright interest in the
15 // software to the public domain. We make this dedication for the benefit
16 // of the public at large and to the detriment of our heirs and
17 // successors. We intend this dedication to be an overt act of
18 // relinquishment in perpetuity of all present and future rights to this
19 // software under copyright law.
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
24 // IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
25 // OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
26 // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
27 // OTHER DEALINGS IN THE SOFTWARE.
29 #pragma once
31 #include <stdint.h>
33 #include "types.h"
35 extern struct string address; // = STRING("irc.nowhere.net");
36 extern struct string port; // = STRING("1234");
37 extern struct string nick; // = STRING("HaxServ");
38 extern struct string server_name; // = STRING("hax.irc.nowhere.net");
40 extern struct string log_channel; // = STRING("#logs");
41 extern struct string recv_password; // = STRING("password we should get back from the other server");
42 extern struct string send_password; // = STRING("password to send for auth");
43 extern struct string hostmask; // = STRING("NetworkHaxxors/HaxServ");
44 extern struct string prejoin_channels[]; // = {STRING("#logs"), STRING("#services"), STRING("#blahblahblah")}
45 extern uint64_t num_prejoin_channels; // = sizeof(prejoin_channels) / sizeof(*prejoin_channels);
47 extern struct string command_prefix; // = STRING(".");
49 extern struct string client_hostmask; // = STRING("127.0.0.1");
50 extern struct string client_cert; // = STRING("NiceInvalidCertForNickServToAcceptRegardlessOfItsPossibility");
52 extern struct string opertype; // = STRING("Admin");
54 extern char *tls_cert_path; // = "/etc/keys/crt.pem";
55 extern char *tls_key_path; // = "/etc/keys/key.pem";