fs_lib,arm9的fat文件系统

源代码在线查看: link.h

软件大小: 50 K
上传用户: feiguohaihu
关键词: fs_lib arm fat 文件系统
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*
				 * @(#)link.h
				 * @date 2005/12/25
				 * @version 1.0
				 * @author Zhou Shangpin.
				 * Copyright 2005 Anyka corporation, Inc. All rights reserved.
				 * ANYKA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
				 */
				
				#ifndef		_LINK_H_
				#define		_LINK_H_
				#include	"object.h"
				#include	"mem_api.h"
				
				typedef struct LinkItem* T_PLINKITEM;
				typedef struct LinkItem T_LINKITEM;
				struct LinkItem
				{
					T_POBJECT	data;
					T_PLINKITEM	prev;
					T_PLINKITEM	next;
				};
				
				struct Link
				{
					T_OBJECT object;
					T_PLINKITEM	head;
					T_PLINKITEM	tail;
					T_PLINKITEM	ptr;
				};
				
				typedef	struct Link	T_LINK;
				typedef	struct Link* T_PLINK;
				
				T_VOID Link_Destroy(T_PLINK obj);
				T_VOID Link_Initial(T_PLINK obj);
				T_U32 Link_Search(T_PLINK obj, T_POBJECT item);
				T_POBJECT Link_Get(T_PLINK obj, T_U32 pos);
				T_VOID Link_First(T_PLINK obj);
				T_VOID Link_Last(T_PLINK obj);
				T_POBJECT Link_Next(T_PLINK obj);
				T_POBJECT Link_Prev(T_PLINK obj);
				T_BOOL Link_Delete(T_PLINK obj);
				T_BOOL Link_Insert(T_PLINK obj, T_POBJECT item);
				T_BOOL Link_IsEmpty(T_PLINK obj);
				
				#endif
				
							

相关资源