Poster of Linux kernelThe best gift for a Linux geek
YFreeAudioCDTracksList

YFreeAudioCDTracksList

Section: Y Version 2 (3) Updated: Release 14
Local index Up
 

NAME

YFreeAudioCDTracksList - frees a audio CD tracks list  

SYNTAX

#include <Y2/Y.h>
#include <Y2/Ylib.h>

void YFreeAudioCDTracksList(

        YAudioCDTrackStruct **list,

        int count
)

 

ARGUMENTS

list
Specifies the audio CD tracks list to be freed.
count
Specifies the number of items in the list.
 

DESCRIPTION

The YFreeAudioCDTracksList function frees the specified audio CD tracks list which should have been returned by a previous call to YGetAudioCDTracks.  

EXAMPLE

#include <stdio.h>
#include <Y2/Y.h>
#include <Y2/Ylib.h>

int main(int argc, char *argv[])
{

        YAudioCDTrackStruct **list;

        int count;

        YConnection *con = YOpenConnection(

                "/usr/sbin/starty",

                "127.0.0.1:9433"

        );

        if(con == NULL)

                return(1);


        list = YGetAudioCDTracks(con, &count);


        /* Iterate through list here. */


        YFreeAudioCDTracksList(list, count);


        YCloseConnection(con, False);


        return(0);
}  

SEE ALSO

YGetAudioCDTracks(3) YAudioCDTrackStruct(3) YPlayAudioCDTrack(3) YStopAudioCD(3) YEjectAudioCD(3)


 

Index

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
EXAMPLE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:59:21 GMT, April 16, 2011