node.h

来自「1.linux平台上单链表接口 2.代码的封装性和层次性好 3.接口功能全」· C头文件 代码 · 共 33 行

H
33
字号
/*
 *	Copyright (c) 2007, beijing
 *	All right reserved.
 *	list.c
 *	author:	chengliang
 *	date:	May, 26, 07
 */

#ifndef _NODE_H
#define _NODE_H

#include "stdio.h"
#include "assert.h"
#include "string.h"

#define TRUE	1
#define FALSE	0

struct NODE_DATA_TYPE{
	char msg[16];
};

typedef struct NODE_DATA_TYPE items;

void node_data_init(items * );
void node_data_free(items * );

void node_data_copy(items * , items * );
int node_data_comp(items * , items * );

void node_data_display(items * );

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?