C_Practice
Data Structures | Typedefs | Functions
struct_process.h File Reference

Go to the source code of this file.

Data Structures

struct  STRUCTTAG_T
 

Typedefs

typedef struct STRUCTTAG_T STRUCTTAG
 
typedef struct STRUCTTAG_TPSTRUCTTAG
 

Functions

void struct_init (PSTRUCTTAG p_tag, int memberA, int memberB)
 
void struct_free (PSTRUCTTAG p_tag)
 

Typedef Documentation

◆ PSTRUCTTAG

typedef struct STRUCTTAG_T * PSTRUCTTAG

◆ STRUCTTAG

typedef struct STRUCTTAG_T STRUCTTAG

Dummy structure

Function Documentation

◆ struct_free()

void struct_free ( PSTRUCTTAG  p_tag)

This function is freeing memory...

Parameters
Passa pointer-to-structure.
Returns
none
22  {
23 }

◆ struct_init()

void struct_init ( PSTRUCTTAG  p_tag,
int  memberA,
int  memberB 
)

This function is assigning initial value in the structure...

Parameters
Passa pointer-to-structure
Assigndata to member A
Assigndata to member B
Returns
none
11  {
12 
13  p_tag->memberA = memberA;
14  p_tag->memberB = memberB;
15 
16 }
int memberB
Definition: struct_process.h:8
int memberA
Definition: struct_process.h:7

Referenced by main().