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

📄 io.h

📁 嵌入式浏览器Dillo源码
💻 H
字号:
#ifndef __IO_H__#define __IO_H__#include<unistd.h>#include<sys/uio.h>#include "../chain.h"/* * IO Operations */#define IORead   0#define IOWrite  1#define IOWrites 2#define IOClose  3#define IOAbort  4/* * IO Flags */#define IOFlag_FreeIOVec   (1 << 1)#define IOFlag_ForceClose  (1 << 2)/* * IO constants */#define IOBufLen_Http    4096#define IOBufLen_File    4096#define IOBufLen_Proto   4096#define IOBufLen_About   4096typedef struct {   gint Key;              /* Primary Key (for klist) */   gint Op;               /* IORead | IOWrite | IOWrites */   gint FD;               /* Current File Descriptor */   glong Status;          /* Number of bytes read, or -errno code */   struct iovec IOVec;    /* Buffer place and length */   gint Flags;            /* Flag array (look definitions above) */   void *ExtData;         /* External data reference (not used by IO.c) */   void *Info;            /* CCC Info structure for this IO */   GIOChannel *GioCh;     /* IO channel */   gint GdkTag;           /* gdk_input tag (used to remove) */} IOData_t;/* * Exported functions */IOData_t* a_IO_new(gint fd);void a_IO_ccc(int Op, int Br, ChainLink *Info, void *Data, void *ExtraData);#endif /* __IO_H__ */

⌨️ 快捷键说明

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