graph pattern scanning and processing language API, main function gvpr
More...
#include <stddef.h>
#include "cgraph.h"
Go to the source code of this file.
|
typedef ssize_t(* | gvprwr) (void *, const char *buf, size_t nbyte, void *) |
|
typedef int(* | gvpruserfn) (char *) |
|
◆ GV_NEXT_SET
◆ GV_USE_EXIT
◆ GV_USE_JUMP
◆ GV_USE_OUTGRAPH
#define GV_USE_OUTGRAPH 2 |
◆ gvpruserfn
typedef int(* gvpruserfn) (char *) |
◆ gvprwr
typedef ssize_t(* gvprwr) (void *, const char *buf, size_t nbyte, void *) |
◆ gvpr()
int gvpr |
( |
int |
argc, |
|
|
char * |
argv[], |
|
|
gvpropts * |
uopts |
|
) |
| |
|
extern |
main loop for gvpr
- Returns
- 0 on success
Definition at line 1041 of file gvpr.c.
References closeGPRState(), closeIngraph(), freeCompileProg(), freeOpts(), freeParseProg(), gvpr_core(), gvpr_state_t::ing, NULL, gvpr_state_t::opts, options::outFile, gvpr_state_t::prog, gvpr_state_t::state, and gvpr_state_t::xprog.
Referenced by main(), and run_gvpr().