ReactOS
0.4.16-dev-835-gd769f56
icy.c
Go to the documentation of this file.
1
/*
2
icy: Puny code to pretend for a serious ICY data structure.
3
4
copyright 2007-2015 by the mpg123 project
5
-= free software under the terms of the LGPL 2.1 =-
6
see COPYING and AUTHORS files in distribution or http://mpg123.org
7
initially written by Thomas Orgis
8
*/
9
10
#include "
intsym.h
"
11
#include "
icy.h
"
12
13
void
init_icy
(
struct
icy_meta
*icy)
14
{
15
icy->
data
=
NULL
;
16
}
17
18
void
clear_icy
(
struct
icy_meta
*icy)
19
{
20
if
(icy->
data
!=
NULL
)
free
(icy->
data
);
21
init_icy
(icy);
22
}
23
24
void
reset_icy
(
struct
icy_meta
*icy)
25
{
26
clear_icy
(icy);
27
init_icy
(icy);
28
}
29
/*void set_icy(struct icy_meta *icy, char* new_data)
30
{
31
if(icy->data) free(icy->data);
32
icy->data = new_data;
33
icy->changed = 1;
34
}*/
free
#define free
Definition:
debug_ros.c:5
NULL
#define NULL
Definition:
types.h:112
icy.h
intsym.h
reset_icy
#define reset_icy
Definition:
intsym.h:210
init_icy
#define init_icy
Definition:
intsym.h:208
clear_icy
#define clear_icy
Definition:
intsym.h:209
icy_meta
Definition:
icy.h:17
icy_meta::data
char * data
Definition:
icy.h:18
sdk
lib
3rdparty
libmpg123
icy.c
Generated on Thu Mar 20 2025 06:13:35 for ReactOS by
1.9.6