Fork me on GitHub
Functions | Variables
janus-cfgconv.c File Reference

Simple utility to convert Janus .cfg files to .jcfg and viceversa. More...

#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "debug.h"
#include "version.h"
Include dependency graph for janus-cfgconv.c:

Functions

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

Variables

int janus_log_level = 4
 
gboolean janus_log_timestamps = FALSE
 
gboolean janus_log_colors = TRUE
 
char * janus_log_global_prefix = NULL
 
int lock_debug = 0
 

Detailed Description

Simple utility to convert Janus .cfg files to .jcfg and viceversa.

Author
Lorenzo Miniero loren.nosp@m.zo@m.nosp@m.eetec.nosp@m.ho.c.nosp@m.om

Using the utility is quite simple. Just pass, as arguments to the tool, the path to the file you want to convert (.cfg or .jcfg) and the path to the target file (.jcfg or .cfg), e.g.:

./janus-cfgconv /path/to/config.cfg /path/to/config.jcfg

Tools and utilities

Function Documentation

◆ main()

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

Variable Documentation

◆ janus_log_colors

gboolean janus_log_colors = TRUE

◆ janus_log_global_prefix

char* janus_log_global_prefix = NULL

◆ janus_log_level

int janus_log_level = 4

◆ janus_log_timestamps

gboolean janus_log_timestamps = FALSE

◆ lock_debug

int lock_debug = 0