TSP: The Transport Sample Protocol



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

bb_utils.h File Reference

#include <sys/ipc.h>
#include <sys/types.h>

Go to the source code of this file.

Typedefs

typedef enum BB_LOG_LEVEL BB_LOG_LEVEL_T
 BlackBoard Log message level.


Enumerations

enum  BB_LOG_LEVEL
 BlackBoard Log message level. More...


Functions

char * bb_utils_build_shm_name (const char *shm_name)
 Build the string name used for creating a shm segment from a user supplied name.

char * bb_utils_build_sem_name (const char *sem_name)
 Construit le nom à utiliser pour la création d'un sémaphore à partir d'un nom 'utilisateur'.

char * bb_utils_build_msg_name (const char *sem_name)
 Construit le nom à utiliser pour la création d'une queue de message à partir d'un nom 'utilisateur'.

key_t bb_utils_ntok (const char *name)
 Build a SysV IPC key from a name.

int32_t bb_logMsg (const BB_LOG_LEVEL_T level, const char *modname, char *fmt,...)
 Log message for BB Error.


Detailed Description

Header
/cvsroot/tsp/tsp/src/util/libbb/bb_utils.h,v 1.2 2004/11/07 18:23:55 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 : Blackboard Idiom utilities

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

Definition in file bb_utils.h. Framework Home Page.


Beware !! TSP wave is coming...