Main Page   File List   Globals  

search.h File Reference

Search functions. More...

#include <libgnurdf/types.h>

Go to the source code of this file.

Backwards-compatibility functions

RdfElementrdfGetElementFromValue (RdfContainer *container, const char *value)
 Returns the element with the specified value. More...

RdfElementrdfGetElementFromResource (RdfContainer *container, const char *resource)
 Returns the element with the specified resource. More...


Functions

RdfElementrdfFindElementWithValue (RdfContainer *container, const char *value)
 Returns the element with the specified value. More...

RdfElementrdfFindElementWithResource (RdfContainer *container, const char *resource)
 Returns the element with the specified resource. More...


Detailed Description

Search functions.

Id:
search.h,v 1.3 2001/08/23 08:51:22 chipx86 Exp
Copyright:
(C) 1999-2001 The GNUpdate Project.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library 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 Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Function Documentation

RdfElement* rdfFindElementWithResource RdfContainer   container,
const char *    resource
 

Returns the element with the specified resource.

Parameters:
container   The container to search.
resource   The resource to search for.
Returns:
The element, or NULL if not found.

RdfElement* rdfFindElementWithValue RdfContainer   container,
const char *    value
 

Returns the element with the specified value.

Parameters:
container   The container to search.
value   The value to search for.
Returns:
The element, or NULL if not found.

RdfElement* rdfGetElementFromResource RdfContainer   container,
const char *    resource
 

Returns the element with the specified resource.

Deprecated:
This function has been replaced by rdfFindElementWithResource()
See also:
rdfFindElementWithResource()

RdfElement* rdfGetElementFromValue RdfContainer   container,
const char *    value
 

Returns the element with the specified value.

Deprecated:
This function has been replaced by rdfFindElementWithValue()
See also:
rdfFindElementWithValue()


Generated on Thu Sep 20 16:12:08 2001 for libgnurdf by doxygen1.2.9-20010819 written by Dimitri van Heesch, © 1997-2001