ReactOS 0.4.15-dev-8231-g29a56f3
icy.c File Reference
#include "intsym.h"
#include "icy.h"
Include dependency graph for icy.c:

Go to the source code of this file.

Functions

void init_icy (struct icy_meta *icy)
 
void clear_icy (struct icy_meta *icy)
 
void reset_icy (struct icy_meta *icy)
 

Function Documentation

◆ clear_icy()

void clear_icy ( struct icy_meta icy)

Definition at line 18 of file icy.c.

19{
20 if(icy->data != NULL) free(icy->data);
21 init_icy(icy);
22}
#define free
Definition: debug_ros.c:5
#define NULL
Definition: types.h:112
#define init_icy
Definition: intsym.h:208
char * data
Definition: icy.h:18

◆ init_icy()

void init_icy ( struct icy_meta icy)

Definition at line 13 of file icy.c.

14{
15 icy->data = NULL;
16}

◆ reset_icy()

void reset_icy ( struct icy_meta icy)

Definition at line 24 of file icy.c.

25{
26 clear_icy(icy);
27 init_icy(icy);
28}
#define clear_icy
Definition: intsym.h:209