amiws  2.2.1
Macros | Functions
amiws.c File Reference

AMI/web-socket main file. More...

#include <getopt.h>
#include <signal.h>
#include "amiws.h"
Include dependency graph for amiws.c:

Macros

#define DEFAULT_PID_FILE   "/tmp/amiws.pid"
 
#define DEFAULT_WORK_DIR   "/tmp"
 

Functions

int main (int argc, const char *argv[])
 

Detailed Description

AMI/web-socket main file.

amiws – Library with functions for read/create AMI packets Copyright (C) 2017, Stas Kobzar stask.nosp@m.obza.nosp@m.r@mod.nosp@m.ulis.nosp@m..ca

This file is part of amiws.

amiws is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

amiws is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with amiws. If not, see http://www.gnu.org/licenses/.

Author
Stas Kobzar stas..nosp@m.kobz.nosp@m.ar@mo.nosp@m.duli.nosp@m.s.ca

Macro Definition Documentation

◆ DEFAULT_PID_FILE

#define DEFAULT_PID_FILE   "/tmp/amiws.pid"

Default PID file when daemonizing

◆ DEFAULT_WORK_DIR

#define DEFAULT_WORK_DIR   "/tmp"

Default working directory when daemonizing

Function Documentation

◆ main()

int main ( int  argc,
const char *  argv[] 
)

Main amiws enter point.