Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gvpr.h File Reference

graph pattern scanning and processing language API, main function gvpr More...

#include <stddef.h>
#include "cgraph.h"
Include dependency graph for gvpr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gvprbinding
 
struct  gvpropts
 

Macros

#define GV_USE_EXIT   1
 
#define GV_USE_OUTGRAPH   2
 
#define GV_USE_JUMP   4
 
#define GV_NEXT_SET   8
 

Typedefs

typedef ssize_t(* gvprwr) (void *, const char *buf, size_t nbyte, void *)
 
typedef int(* gvpruserfn) (char *)
 

Functions

int gvpr (int argc, char *argv[], gvpropts *opts)
 

Macro Definition Documentation

◆ GV_NEXT_SET

#define GV_NEXT_SET   8

Definition at line 53 of file gvpr.h.

◆ GV_USE_EXIT

#define GV_USE_EXIT   1

Definition at line 47 of file gvpr.h.

◆ GV_USE_JUMP

#define GV_USE_JUMP   4

Definition at line 51 of file gvpr.h.

◆ GV_USE_OUTGRAPH

#define GV_USE_OUTGRAPH   2

Definition at line 49 of file gvpr.h.

Typedef Documentation

◆ gvpruserfn

typedef int(* gvpruserfn) (char *)

Definition at line 57 of file gvpr.h.

◆ gvprwr

typedef ssize_t(* gvprwr) (void *, const char *buf, size_t nbyte, void *)

Definition at line 56 of file gvpr.h.

Function Documentation

◆ 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().

Here is the call graph for this function:
Here is the caller graph for this function: