Version 6.3
Copyright © 2005 - 2012 Lowell D. Thomas
APG
  … ABNF Parser Generator
All Data Structures Files Functions Variables Typedefs Macros Pages
main.c
Go to the documentation of this file.
1 /*******************************************************************************
2  APG Version 6.3
3  Copyright (C) 2005 - 2012 Lowell D. Thomas, all rights reserved
4 
5  author: Lowell D. Thomas
6  email: lowell@coasttocoastresearch.com
7  website: http://www.coasttocoastresearch.com
8 
9  This program is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 2 of the License, or
12  (at your option) any later version.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program. If not, see
21  <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
22  or write to the Free Software Foundation, Inc.,
23  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 *******************************************************************************/
25 
26 #include "Apg.h"
27 #include "main.h"
42 int main() {
43  apg_uint uiTestSetup = APG_TRUE;
44  apg_uint uiTestUdts = APG_TRUE;
45  apg_uint uiTestCallbacks = APG_TRUE;
46 
47  if(uiTestSetup){vDemoSetup();}
48  if(uiTestUdts){vDemoUdts();}
49  if(uiTestCallbacks){vDemoCallbacks();}
50 
51  return EXIT_SUCCESS;
52 }
apg_uint
unsigned int apg_uint
Definition: Apg.h:169
vDemoSetup
void vDemoSetup()
Definition: Setup.c:41
Apg.h
Required header file for all APG-generated parsers. Contains important configuration macros and decla...
APG_TRUE
#define APG_TRUE
Definition: Apg.h:187
vDemoCallbacks
void vDemoCallbacks()
Definition: Callbacks.c:391
main
int main(int argc, char **argv)
Definition: main.c:115
vDemoUdts
void vDemoUdts()
Definition: UdtLibDemo.c:39
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/licenses.html or write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.