1 /* @(#) external common resources (variables and constants)
3 * Copyright 2008-2011 Pavel V. Cherenkov (pcherenkov@gmail.com)
5 * This file is part of udpxy.
7 * udpxy is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
12 * udpxy is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with udpxy. If not, see <http://www.gnu.org/licenses/>.
21 #include <sys/types.h>
27 const char CMD_UDP
[] = "udp";
28 const char CMD_STATUS
[] = "status";
29 const char CMD_RESTART
[] = "restart";
30 const char CMD_RTP
[] = "rtp";
32 const size_t CMD_UDP_LEN
= sizeof(CMD_UDP
);
33 const size_t CMD_STATUS_LEN
= sizeof(CMD_STATUS
);
34 const size_t CMD_RESTART_LEN
= sizeof(CMD_RESTART
);
35 const size_t CMD_RTP_LEN
= sizeof(CMD_RTP
);
37 const char UDPXY_COPYRIGHT_NOTICE
[] =
38 "udpxy and udpxrec are Copyright (C) 2008-2011 Pavel V. Cherenkov and licensed under GNU GPLv3";
39 const char UDPXY_CONTACT
[] =
40 "Contact by email: pcherenkov@gmail.com; ICQ # 7197767";
43 const char COMPILE_MODE
[] = "lean";
45 const char COMPILE_MODE
[] = "standard";
48 const char g_udpxy_app
[] = "udpxy";
51 const char g_udpxrec_app
[] = "udpxrec";
54 const char IPv4_ALL
[] = "0.0.0.0";
56 const char VERSION
[] =
64 const char BUILD_TYPE
[] =
71 /* signal-handler set quit flag */
72 volatile sig_atomic_t g_quit
= 0;