libgpac
Documentation of the core library of GPAC
main.h File Reference

main() macro for win32. More...

#include <gpac/setup.h>
#include <gpac/utf.h>
+ Include dependency graph for main.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  GF_GPACArg
 

Macros

#define GF_MAIN_FUNC(__fun)
 
#define GF_GPAC_ARG_BASE
 
#define GF_ARG_HINT_ADVANCED   (1<<1)
 
#define GF_ARG_HINT_EXPERT   (1<<2)
 
#define GF_ARG_HINT_HIDE   (1<<3)
 
#define GF_ARG_HINT_EXPERIMENTAL   (1<<4)
 
#define GF_ARG_SUBSYS_CORE   (1<<5)
 
#define GF_ARG_SUBSYS_LOG   (1<<6)
 
#define GF_ARG_SUBSYS_FILTERS   (1<<7)
 
#define GF_ARG_SUBSYS_HTTP   (1<<8)
 
#define GF_ARG_SUBSYS_VIDEO   (1<<9)
 
#define GF_ARG_SUBSYS_AUDIO   (1<<10)
 
#define GF_ARG_SUBSYS_TEXT   (1<<11)
 
#define GF_ARG_SUBSYS_RMT   (1<<12)
 
#define GF_ARG_SUBSYS_HACKS   (1<<13)
 
#define GF_ARG_BOOL   0
 
#define GF_ARG_INT   1
 
#define GF_ARG_DOUBLE   2
 
#define GF_ARG_STRING   3
 
#define GF_ARG_STRINGS   4
 
#define GF_ARG_4CC   5
 
#define GF_ARG_4CCS   6
 
#define GF_ARG_CUSTOM   7
 
#define GF_DEF_ARG(_a, _b, _c, _d, _e, _f, _g)   {_a, _b, _c, _d, _e, _f, _g}
 

Enumerations

enum  GF_SysArgMode { GF_ARGMODE_BASE =0, GF_ARGMODE_ADVANCED, GF_ARGMODE_EXPERT, GF_ARGMODE_ALL }
 
enum  GF_SysPrintArgFlags {
  GF_PRINTARG_HIGHLIGHT_FIRST = 1, GF_PRINTARG_NL_TO_BR = 1<<1, GF_PRINTARG_OPT_DESC = 1<<2, GF_PRINTARG_IS_APP = 1<<3,
  GF_PRINTARG_ADD_DASH = 1<<4, GF_PRINTARG_NO_DASH = 1<<5, GF_PRINTARG_COLON = 1<<6, GF_PRINTARG_MD = 1<<16,
  GF_PRINTARG_MAN = 1<<17, GF_PRINTARG_ESCAPE_XML = 1<<18, GF_PRINTARG_ESCAPE_PIPE = 1<<19
}
 

Functions

const GF_GPACArggf_sys_get_options ()
 
u32 gf_sys_is_gpac_arg (const char *arg_name)
 
Bool gf_sys_set_cfg_option (const char *opt_string)
 
void gf_sys_print_arg (FILE *helpout, GF_SysPrintArgFlags flags, const GF_GPACArg *arg, const char *arg_subsystem)
 
void gf_sys_print_core_help (FILE *helpout, GF_SysPrintArgFlags flags, GF_SysArgMode mode, u32 subsystem_flags)
 
const char * gf_sys_localized (const char *sec_name, const char *str_name, const char *def_val)
 
void gf_sys_format_help (FILE *output, GF_SysPrintArgFlags flags, const char *fmt,...)
 
Bool gf_sys_word_match (const char *orig, const char *dst)
 

Detailed Description

>