TSP: The Transport Sample Protocol



Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

tsp_ascii_writer.h File Reference

#include "tsp_abs_types.h"
#include "tsp_consumer.h"
#include <pthread.h>
#include <stdio.h>

Go to the source code of this file.

Functions

int32_t tsp_ascii_writer_initialise (int *argc, char **argv[])
 Initialise ascii TSP consumer.

int32_t tsp_ascii_writer_add_var (char *symbol_name)
 Add a variable to the global symbols array used by the Lex+Yacc lexer+parser.

int32_t tsp_ascii_writer_load_config (const char *conffilename, TSP_consumer_symbol_requested_t **tsp_symbols, int32_t *nb_symbols)
 Load a configuration file and build the array of of requested symbol in config file.

int32_t tsp_ascii_writer_validate_symbols (TSP_consumer_symbol_requested_t *tsp_symbols, int32_t nb_symbols, const char *tsp_provider_hostname, TSP_consumer_symbol_requested_list_t *tsp_symbol_list)
 Validate the requested symbol against the TSP provider located on tsp_provider_hostname.

int32_t tsp_ascii_writer_start (FILE *sfile, int32_t nb_sample_max_infile)
 Start TSP data receive and archive.

void * tsp_ascii_writer_thread (void *sfile)
 Function to be used with pthread_create(3).

int32_t tsp_ascii_writer_stop ()
 Stop data archiving.

int32_t tsp_ascii_writer_finalise ()
 Finalise TSP consumer.


Detailed Description

Header
/cvsroot/tsp/tsp/src/consumers/ascii_writer/tsp_ascii_writer.h,v 1.4 2004/11/09 22:33:01 erk Exp

-----------------------------------------------------------------------

TSP Library - core components for a generic Transport Sampling Protocol.

Copyright (c) 2002 Yves DUFRENNE, Stephane GALLES, Eric NOULARD and Robert PAGNOT

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser 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

-----------------------------------------------------------------------

Project : TSP Maintainer : tsp@astrium-space.com Component : Consumer

-----------------------------------------------------------------------

Purpose : TSP ascii writer consumer

-----------------------------------------------------------------------

Definition in file tsp_ascii_writer.h.


Function Documentation

int32_t tsp_ascii_writer_add_var char *  symbol_name  ) 
 

Add a variable to the global symbols array used by the Lex+Yacc lexer+parser.

Definition at line 86 of file tsp_ascii_writer.c.

Framework Home Page.


Beware !! TSP wave is coming...