AT&T ECOMP Vendor Event Listener library
0.1
|
Utility providing example use of the ECOMP Vendor Event Listener API. More...
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>
#include <sys/signal.h>
#include <pthread.h>
#include <mcheck.h>
#include <sys/time.h>
#include "evel.h"
#include "evel_demo.h"
#include "evel_test_control.h"
Go to the source code of this file.
Macros | |
#define | DEFAULT_SLEEP_SECONDS 3 |
#define | MINIMUM_SLEEP_SECONDS 1 |
Enumerations | |
enum | SERVICE_EVENT { SERVICE_CODEC, SERVICE_TRANSCODING, SERVICE_RTCP, SERVICE_EOC_VQM, SERVICE_MARKER } |
Functions | |
int | main (int argc, char **argv) |
Main function. More... | |
void * | signal_watcher (void *void_sig_set) |
Signal watcher. More... | |
Variables | |
unsigned long long | epoch_start = 0 |
Utility providing example use of the ECOMP Vendor Event Listener API.
This software is intended to show the essential elements of the library's use.
Copyright(c) <2016>, AT&T Intellectual Property. All other rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY AT&T INTELLECTUAL PROPERTY ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AT&T INTELLECTUAL PROPERTY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file evel_demo.c.
#define DEFAULT_SLEEP_SECONDS 3 |
Definition at line 128 of file evel_demo.c.
#define MINIMUM_SLEEP_SECONDS 1 |
Definition at line 129 of file evel_demo.c.
enum SERVICE_EVENT |
Enumerator | |
---|---|
SERVICE_CODEC | |
SERVICE_TRANSCODING | |
SERVICE_RTCP | |
SERVICE_EOC_VQM | |
SERVICE_MARKER |
Definition at line 133 of file evel_demo.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Main function.
Parses the command-line then ...
[in] | argc | Argument count. |
[in] | argv | Argument vector - for usage see usage_text. |
Definition at line 177 of file evel_demo.c.
void* signal_watcher | ( | void * | void_sig_set | ) |
Signal watcher.
Signal catcher for incoming signal processing. Work out which signal has been received and process it accordingly.
param[in] void_sig_set The signal mask to listen for.
Definition at line 541 of file evel_demo.c.
unsigned long long epoch_start = 0 |
Definition at line 131 of file evel_demo.c.