list.h

来自「Example of Embedded Zerotree Wavelet enc」· C头文件 代码 · 共 41 行

H
41
字号
/*
LIST.H

Simple implementation of a linked list.

This file is part of my Embedded Zerotree Wavelet Encoder Tutorial.

(C) C. Valens, <c.valens@mindless.com>

Created    : 03/09/1999
Last update: 03/09/1999
*/

#ifndef __LIST_H__
#define __LIST_H__


/*
 * list_type = integer;
 */
typedef struct __list_type {
  int x;
  int y;
} list_type;

extern int list_length;

void append_to_list(list_type d);
void destroy_list(void);
void display_list(void);
list_type get_list_element(int pos, char *found);
void put_list_element(list_type d, int pos, char *found);
void reset_list(void);
list_type get_next_list_element(char *found);
void write_list_info(void);
void initialize_list(void);


#endif /* __LIST_H__ */

⌨️ 快捷键说明

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