Cobalt Framework  beta
Console application support
Classes | Defines | Functions | Variables
CBOptionForm.h File Reference

Define CBOptionForm data structure. More...

#include <string.h>

Go to the source code of this file.

Classes

struct  CBOptionForm
 Form of option in command line option. More...

Defines

#define CBEndOfOptionForm   {CBNullOptionId, '\0', NULL, 0, NULL}
 Terminator of array of CBOptionForm.

Functions

static unsigned int CBIsEndOfOptionForm (const struct CBOptionForm *src)
 Check the form is terminator of array.

Variables

static const unsigned int CBNullOptionId = ((unsigned int) -1)
 Option Id to present no-option.

Detailed Description

Define CBOptionForm data structure.

Copyright
Copyright (C) 2012 Steel Wheels Project

Function Documentation

static unsigned int CBIsEndOfOptionForm ( const struct CBOptionForm src) [inline, static]

Check the form is terminator of array.

Return values:
non-zeroThe form is terminator
0The form is NOT terminator
Parameters:
srcSorce form
 All Classes Files Functions Variables Enumerations Enumerator Defines