Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Functions
main.c File Reference

Driver for the message log utility examples.. More...

#include "../../utilities/utilities.h"
Include dependency graph for main.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Main function for the basic application. More...
 

Detailed Description

Driver for the message log utility examples..

This example will demonstrate the construction and use of the message log utility.

Within the APG applications and objects there are many times the need to maintain a log of messages. This object is a simple, but consistent method for logging multiple messages, whether error messages or warning messages or otherwise, with an iterator for retrieving them.

See vUtilPrintMsgs() for a utility that will display all messages in a message log object.

Application requirements.

The compiled example will execute the following cases. Run the application with no arguments for application usage.

Definition in file main.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Main function for the basic application.

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
The application's exit code.

Definition at line 180 of file main.c.

APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.