/usr/include/planarity/graphFunctionTable.h is in libplanarity-dev 3.0.0.5-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | #ifndef GRAPHFUNCTIONTABLE_H
#define GRAPHFUNCTIONTABLE_H
/*
Copyright (c) 1997-2015, John M. Boyer
All rights reserved.
See the LICENSE.TXT file for licensing information.
*/
#ifdef __cplusplus
extern "C" {
#endif
/*
NOTE: If you add any FUNCTION POINTERS to this function table, then you must
also initialize them in _InitFunctionTable() in graphUtils.c.
*/
typedef struct
{
// These function pointers allow extension modules to overload some of
// the behaviors of protected functions. Only advanced applications
// will overload these functions
int (*fpEmbeddingInitialize)();
void (*fpEmbedBackEdgeToDescendant)();
void (*fpWalkUp)();
int (*fpWalkDown)();
int (*fpMergeBicomps)();
void (*fpMergeVertex)();
int (*fpHandleInactiveVertex)();
int (*fpHandleBlockedBicomp)();
int (*fpEmbedPostprocess)();
int (*fpMarkDFSPath)();
int (*fpCheckEmbeddingIntegrity)();
int (*fpCheckObstructionIntegrity)();
// These function pointers allow extension modules to overload some
// of the behaviors of gp_* function in the public API
int (*fpInitGraph)();
void (*fpReinitializeGraph)();
int (*fpEnsureArcCapacity)();
int (*fpSortVertices)();
int (*fpReadPostprocess)();
int (*fpWritePostprocess)();
void (*fpHideEdge)();
void (*fpRestoreEdge)();
int (*fpHideVertex)();
int (*fpRestoreVertex)();
int (*fpContractEdge)();
int (*fpIdentifyVertices)();
} graphFunctionTable;
typedef graphFunctionTable * graphFunctionTableP;
#ifdef __cplusplus
}
#endif
#endif
|