MCPcopy Index your code
hub / github.com/MapServer/MapServer / initJoin

Function initJoin

mapfile.c:641–665  ·  view source on GitHub ↗

** Initialize, load and free a single join */

Source from the content-addressed store, hash-verified

639** Initialize, load and free a single join
640*/
641void initJoin(joinObj *join)
642{
643 join->numitems = 0;
644
645 join->name = NULL; /* unique join name, used for variable substitution */
646
647 join->items = NULL; /* array to hold item names for the joined table */
648 join->values = NULL; /* arrays of strings to holds one record worth of data */
649
650 join->table = NULL;
651
652 join->joininfo = NULL;
653
654 join->from = NULL; /* join items */
655 join->to = NULL;
656
657 join->header = NULL;
658 join->template = NULL; /* only html type templates are supported */
659 join->footer = NULL;
660
661 join->type = MS_JOIN_ONE_TO_ONE;
662
663 join->connection = NULL;
664 join->connectiontype = MS_DB_XBASE;
665}
666
667void freeJoin(joinObj *join)
668{

Callers 2

msCopyLayerFunction · 0.85
loadJoinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected