📄 yepplib.h
字号:
/************************************************* * nope - open source drivers for the yepp(tm) * *************************************************/ /* Copyright (c) 2001, James McKenzie. * All rights reserved * * By using this file, you agree to the terms and conditions set * forth in the LICENCE file which can be found at the top level of * the nope distribution. Neither James McKenzie nor anybody else * warranties that it is legal to use this software - that is your * problem. * * yepp is a trademark of Samsung. * *//* * yepp.h: * * Copyright (c) 2001 James McKenzie <james@fishsoup.dhs.org>, * All rights reserved. * *//* * $Id: yepplib.h,v 1.9 2001/05/07 00:08:12 root Exp $ *//* * $Log: yepplib.h,v $ * Revision 1.9 2001/05/07 00:08:12 root * # * * Revision 1.8 2001/01/07 22:26:43 root * # * * Revision 1.7 2001/01/06 16:51:57 root * # * * Revision 1.6 2001/01/05 03:41:34 root * # * * Revision 1.5 2001/01/04 22:04:57 root * # * * Revision 1.4 2001/01/04 15:51:12 root * # * * Revision 1.3 2001/01/04 15:51:02 root * # * * Revision 1.2 2001/01/04 13:52:31 root * # * * Revision 1.1 2001/01/04 06:07:21 root * # * * Revision 1.2 2001/01/04 02:57:39 root * # * */#ifndef __YEPP_H__#define __YEPP_H__struct yepp_mem_status{ int size; //Memory size in 1M chunks int free;};struct yepp_status{ struct yepp_mem_status main, card;};struct yepp_dirent{ struct yepp_dirent *next; int index; int type; int size; char name[515]; int attr; int user;};#define YEPP_TYPE_DATA 0x00#define YEPP_TYPE_MP3 0x01#define YEPP_TYPE_TEL 0x02#define YEPP_TYPE_SC4 0x03#define YEPP_TYPE_RESV 0x04#define YEPP_WHERE_BASE 0x0#define YEPP_WHERE_CARD 0x1#define YEPP_ORDER_LEN 252#define YEPP_SERIAL_INDEX 0x1#define YEPP_CONFIG_INDEX 0x2#define YEPP_ENCODE_INDEX 0x3#define YEPP_DECODE_INDEX 0x4#endif /* __YEPP_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -