Main Page | Modules | Data Structures | File List | Data Fields | Globals

comments.h

Go to the documentation of this file.
00001 
00002 /*
00003    Copyright (C) 2003 Commonwealth Scientific and Industrial Research
00004    Organisation (CSIRO) Australia
00005 
00006    Redistribution and use in source and binary forms, with or without
00007    modification, are permitted provided that the following conditions
00008    are met:
00009 
00010    - Redistributions of source code must retain the above copyright
00011    notice, this list of conditions and the following disclaimer.
00012 
00013    - Redistributions in binary form must reproduce the above copyright
00014    notice, this list of conditions and the following disclaimer in the
00015    documentation and/or other materials provided with the distribution.
00016 
00017    - Neither the name of CSIRO Australia nor the names of its
00018    contributors may be used to endorse or promote products derived from
00019    this software without specific prior written permission.
00020 
00021    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00022    ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00023    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
00024    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE ORGANISATION OR
00025    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00026    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00027    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
00028    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
00029    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
00030    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00031    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00032 */
00033 
00034 #ifndef __FISH_SOUND_COMMENT_H__
00035 #define __FISH_SOUND_COMMENT_H__
00036 
00088 #include <fishsound/fishsound.h>
00089 
00093 typedef struct {
00095   char * name;
00096 
00098   char * value;
00099 } FishSoundComment;
00100 
00101 #ifdef __cplusplus
00102 extern "C" {
00103 #endif
00104 
00112 const char *
00113 fish_sound_comment_get_vendor (FishSound * fsound);
00114 
00115 
00122 const FishSoundComment *
00123 fish_sound_comment_first (FishSound * fsound);
00124 
00132 const FishSoundComment *
00133 fish_sound_comment_next (FishSound * fsound, const FishSoundComment * comment);
00134 
00144 const FishSoundComment *
00145 fish_sound_comment_first_byname (FishSound * fsound, char * name);
00146 
00157 const FishSoundComment *
00158 fish_sound_comment_next_byname (FishSound * fsound,
00159                                 const FishSoundComment * comment);
00160 
00169 int
00170 fish_sound_comment_add (FishSound * fsound, FishSoundComment * comment);
00171 
00181 int
00182 fish_sound_comment_add_byname (FishSound * fsound, const char * name,
00183                                const char * value);
00184 
00194 int
00195 fish_sound_comment_remove (FishSound * fsound, FishSoundComment * comment);
00196 
00205 int
00206 fish_sound_comment_remove_byname (FishSound * fsound, char * name);
00207 
00208 #ifdef __cplusplus
00209 }
00210 #endif
00211 
00212 #endif /* __FISH_SOUND_COMMENTS_H__ */

Generated on Thu Jun 24 18:46:04 2004 for libfishsound by doxygen 1.3.5