WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB-UTIL Reference

getopt.h File Reference

Compile time settings. More...

Go to the source code of this file.

Data Structures

struct  pj_getopt_option

Defines

#define no_argument   0
#define required_argument   1
#define optional_argument   2

Functions

int pj_getopt (int argc, char *const *argv, const char *shortopts)
int pj_getopt_long (int argc, char *const *argv, const char *options, const struct pj_getopt_option *longopts, int *longind)
int pj_getopt_long_only (int argc, char *const *argv, const char *shortopts, const struct pj_getopt_option *longopts, int *longind)

Variables

char * pj_optarg
int pj_optind
int pj_optopt

Detailed Description

Compile time settings.

 


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.