⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 arjtypes.h

📁 arj source code
💻 H
字号:
/* * $Id: arjtypes.h,v 1.1.1.1 2002/03/28 00:01:28 andrew_belov Exp $ * --------------------------------------------------------------------------- * OS-independent types are to be declared here. * */#ifndef ARJTYPES_INCLUDED#define ARJTYPES_INCLUDED/* Message classes */#ifdef FMSG_STtypedef char FAR FMSG;typedef FMSG * FAR FMSGP;typedef FMSG * FAR NMSGP;#elsetypedef char FMSG;typedef char *FMSGP;typedef char *NMSGP;#endif/* File access mode record */struct file_mode{ int dos;                               /* For internals of ARJ (-hb, etc.) */ int native;};/* Timestamp record */struct timestamp{ unsigned long dos;                     /* Local */ unsigned long unixtime;                /* GMT */};/* A handy macro for verifying the validity of timestamps */#define ts_valid(t) (t.dos!=0L)/* Prototypes */void fm_store(struct file_mode *dest, int host_os, int mode);unsigned int fm_native(struct file_mode *fm, int host_os);void ts_store(struct timestamp *dest, int host_os, unsigned long value);unsigned long ts_native(struct timestamp *ts, int host_os);int ts_cmp(struct timestamp *ts1, struct timestamp *ts2);void make_timestamp(struct timestamp *dest, int y, int m, int d, int hh, int mm, int ss);void timestamp_to_str(char *str, struct timestamp *ts);#endif

⌨️ 快捷键说明

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