TSP: The Transport Sample Protocol



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

glue_sserver.h File Reference

#include "tsp_prjcfg.h"
#include "tsp_datastruct.h"

Go to the source code of this file.

Data Structures

struct  glu_item_t
 Item used to transmit a data sample. More...


Defines

#define GLU_GLOBAL_HANDLE   ((GLU_handle_t)0x1)
 GLU global handle dummy value.


Typedefs

typedef void * GLU_handle_t
 Handle for a GLU instance.


Enumerations

enum  GLU_server_type_t { GLU_SERVER_TYPE_ACTIVE, GLU_SERVER_TYPE_PASSIVE }
 GLU server type. More...

enum  GLU_get_state_t {
  GLU_GET_NEW_ITEM, GLU_GET_NO_ITEM, GLU_GET_EOF, GLU_GET_RECONF,
  GLU_GET_DATA_LOST
}

Functions

char * GLU_get_server_name (void)
 GLU server name.

int GLU_init (int fallback_argc, char *fallback_argv[])
 GLU initialization function.

int GLU_start (void)
 Start the loop that will had data to datapool whith pus_next_item.

GLU_server_type_t GLU_get_server_type (void)
 GLU server type : ACTIVE or PASSIVE.

GLU_handle_t GLU_get_instance (int custom_argc, char *custom_argv[], char **error_info)
 GLU instance creation.

int GLU_get_sample_symbol_info_list (GLU_handle_t h_glu, TSP_sample_symbol_info_list_t *symbol_list)
 List of symbols managed by the GLU.

double GLU_get_base_frequency (void)
 GLU base frequency.


Detailed Description

Id
glue_sserver.h,v 1.19 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 : Provider

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

Purpose : Interface for the glue server : the data producer

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

Definition in file glue_sserver.h. Framework Home Page.


Beware !! TSP wave is coming...