00001 00002 #include <unistd.h> 00003 #include <sxpath.h> 00004 00005 typedef struct ns_decl_i ns_decl; 00008 struct ns_decl_i { 00010 char prefix; 00012 char *uri; 00014 ns_decl *next; 00015 }; 00016 00017 const char *instring; 00018 int n; 00019 ns_decl *used_namespaces; 00020 00021 int eval_getinput(char buf[], int maxlen); 00022 void set_input_string( const char *inputstring ); 00023 00024 void declareNamespacesClark( QueryContext Q ); 00025 void addNS( char q[], const char *clarkuri ); 00026 void clearNamespaces(); 00027 00028 void helpMsg( void ); 00029 void versionMsg( void ); 00030