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

📄 my_db.h

📁 这是在linux下利用GPS MODERM通过串口进行短信发送的源代码
💻 H
字号:
/* pragame and database  * need_lines the max value is 10 * len of line the max value is 100 * line_dec and field_dec the default is | * next_line_number the first value is 0 */  struct my_sql{	unsigned long packet_no; /* 数据包的序号 */	int sql_back;           /* 1,有返回值,0,没有返回值 */	char sql_str[3000];     /* 已经写好的sql语句 */	int need_lines;         /* 需要返回的最大行数 */	int error_flag;	        /* 错误标志,1数据库操作中有错误发生,0无 */				/* 2没有结果数据,即0rows */	unsigned long result_lines;      /* 查询的到的实际行数 */	int return_lines;       /* 实际返回值的行数 */	unsigned long next_line_number;  /* 未被读取的数据的第一行 */	char line_dec;          /* 返回值行之间的分割符 */	char field_dec;         /* 返回值字段之间的分割符 */	char result_str[3000];  /* 返回的查询字符串 */    unsigned long int last_recode_id; /* Returns the last automatically */                                    /* generated value that was inserted*/                                     /* into an AUTO_INCREMENT column. */    char source;       /* sql语句的来源 */};/* struct my_sql_report for report */

⌨️ 快捷键说明

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