JWS C Library
C language utility library
jwsc_config.c.in File Reference

Program to print information about the configuration for libjwsc. More...

#include <jwsc/config.h>
#include <stdlib.h>
#include <stdio.h>
#include <jwsc/base/error.h>
#include <jwsc/base/option.h>
Include dependency graph for jwsc_config.c.in:

Go to the source code of this file.

Functions

static void print_usage (void)
 Prints the usage of the program.
static Errorprocess_help_opt (void)
 Processes the 'help' program options.
static Errorprocess_version_opt (void)
 Processes the 'version' program options.
static Errorprocess_libs_opt (void)
 Processes the 'libs' program options.
static Errorprocess_cflags_opt (void)
 Processes the 'cflags' program options.
static Errorprocess_cppflags_opt (void)
 Processes the 'cppflags' program options.
static Errorprocess_ldflags_opt (void)
 Processes the 'ldflags' program options.
int main (int argc, const char **argv)
 Main function of the program.

Variables

Option_no_arg opts_no_arg [NUM_OPTS_NO_ARG]
 Program options taking no argument.

Detailed Description

Program to print information about the configuration for libjwsc.

Author:
Joseph Schlecht
License:
Creative Commons BY-NC-SA 3.0

Definition in file jwsc_config.c.in.


Function Documentation

static void print_usage ( void  ) [static]

Prints the usage of the program.

Definition at line 92 of file jwsc_config.c.in.

static Error* process_help_opt ( void  ) [static]

Processes the 'help' program options.

Definition at line 101 of file jwsc_config.c.in.

static Error* process_version_opt ( void  ) [static]

Processes the 'version' program options.

Definition at line 110 of file jwsc_config.c.in.

static Error* process_libs_opt ( void  ) [static]

Processes the 'libs' program options.

Definition at line 118 of file jwsc_config.c.in.

static Error* process_cflags_opt ( void  ) [static]

Processes the 'cflags' program options.

Definition at line 126 of file jwsc_config.c.in.

static Error* process_cppflags_opt ( void  ) [static]

Processes the 'cppflags' program options.

Definition at line 134 of file jwsc_config.c.in.

static Error* process_ldflags_opt ( void  ) [static]

Processes the 'ldflags' program options.

Definition at line 142 of file jwsc_config.c.in.

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

Main function of the program.

Definition at line 152 of file jwsc_config.c.in.


Variable Documentation

Option_no_arg opts_no_arg[NUM_OPTS_NO_ARG]

Program options taking no argument.

Definition at line 88 of file jwsc_config.c.in.