navit  0.5.3-trunk
misc.c File Reference
#include "gpx2navit_txt.h"

Functions

void failToWriteAttrRep (int iShape, int col, char *file, int line)
 
void showStats (g2sprop *prop)
 
void wipePathAttr (pathattr *pattr)
 
pathattrcreatePathAttr (void)
 
void wipeAttr (g2sattr *attr)
 
void setColsDefault (g2scolumns *cols)
 
g2scolumnscreateCols (void)
 
g2sattrcreateAttr (void)
 
g2spropcreateProp (void)
 
void closeProp (g2sprop *prop)
 
parsedatacreateParsedata (XML_Parser parser, g2sprop *prop)
 
void closeParsedata (parsedata *pdata)
 

Function Documentation

◆ closeParsedata()

void closeParsedata ( parsedata pdata)

◆ closeProp()

void closeProp ( g2sprop prop)

◆ createAttr()

g2sattr* createAttr ( void  )

creates a element attribute structure.

References wipeAttr().

Referenced by createParsedata().

◆ createCols()

g2scolumns* createCols ( void  )

creates a column structure

References setColsDefault().

Referenced by createProp().

◆ createParsedata()

parsedata* createParsedata ( XML_Parser  parser,
g2sprop prop 
)

◆ createPathAttr()

pathattr* createPathAttr ( void  )

creates a new path attribute

References wipePathAttr().

Referenced by createParsedata().

◆ createProp()

◆ failToWriteAttrRep()

void failToWriteAttrRep ( int  iShape,
int  col,
char *  file,
int  line 
)

Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

message when fail to write attribute

◆ setColsDefault()

◆ showStats()

◆ wipeAttr()

void wipeAttr ( g2sattr attr)

clears a element attribute structure

References attr::type.

Referenced by createAttr(), and endElementControl().

◆ wipePathAttr()