Sha256: 76c7e19760e4e50dabcf33069fa6c9854d44cc891e4b4157dd4e981de2c1afc9
Contents?: true
Size: 786 Bytes
Versions: 4
Compression:
Stored size: 786 Bytes
Contents
#ifndef _parsed_xpath_h_ #define _parsed_xpath_h_ #include <stdarg.h> typedef struct __pxpath_node { int type; char* value; struct __pxpath_node * next; struct __pxpath_node * child; } pxpath_node; typedef pxpath_node * pxpathPtr; enum { PXPATH_FUNCTION = 1, PXPATH_PATH = 2, PXPATH_LITERAL = 3, PXPATH_LIT_EXPR = 4, PXPATH_OPERATOR = 3 }; pxpathPtr pxpath_new(int type, char* value); pxpathPtr pxpath_new_func(char* value, pxpathPtr child); pxpathPtr pxpath_cat_paths(int n, ...); pxpathPtr pxpath_cat_literals(int n, ...); pxpathPtr pxpath_new_path(int n, ...); pxpathPtr pxpath_dup(pxpathPtr p); pxpathPtr pxpath_new_literal(int n, ...); pxpathPtr pxpath_new_operator(int n, ...); void pxpath_free(pxpathPtr ptr); char* pxpath_to_string(pxpathPtr ptr); #endif
Version data entries
4 entries across 4 versions & 4 rubygems