parse_query_string.h File Reference

Functions for query string parsing. More...

#include "../../flutelib/uri.h"

Include dependency graph for parse_query_string.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  qs_missing_symbol
struct  qs_missing_block
struct  query_str

Typedefs

typedef qs_missing_symbol qs_missing_symbol_t
typedef qs_missing_block qs_missing_block_t
typedef query_str query_str_t

Functions

query_str_tparse_query_string (char *query_str)
void free_query_str (query_str_t *qs)


Detailed Description

Functions for query string parsing.

Author
peltotal
Date
2007/02/27 12:50:48
Revision
1.9

MAD-FLUTE-REPAIR-SERVER: Implementation of repair server for FLUTE protocol. Copyright (c) 2005-2007 TUT - Tampere University of Technology main authors/contacts: jani.peltotalo@tut.fi and sami.peltotalo@tut.fi

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file parse_query_string.h.


Typedef Documentation

typedef struct qs_missing_block qs_missing_block_t

typedef struct qs_missing_symbol qs_missing_symbol_t

typedef struct query_str query_str_t


Function Documentation

void free_query_str ( query_str_t qs  ) 

This function frees query_string structure.

Parameters:
qs query_string structure to be freed

Definition at line 328 of file parse_query_string.c.

References query_str::block_list, qs_missing_block::es_list, query_str::fileURI, free_uri(), qs_missing_block::next, and qs_missing_symbol::next.

Referenced by main(), and parse_query_string().

Here is the call graph for this function:

Here is the caller graph for this function:

query_str_t* parse_query_string ( char *  query_str  ) 

This function parses query string.

Parameters:
query_str query string to be parsed
Returns:
query_string structure, NULL in error cases

Definition at line 120 of file parse_query_string.c.

References query_str::block_list, qs_missing_block::es_list, qs_missing_symbol::esi, query_str::fileURI, free_query_str(), insert_missing_block(), insert_missing_symbol(), missing_block_exist(), qs_missing_symbol::next, qs_missing_block::next, parse_uri(), and qs_missing_block::sbn.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Fri Mar 9 20:01:45 2007 for MAD-FCL by  doxygen 1.5.0