RTA API 详解:功能、使用与错误处理
1. TBLDEF 结构定义
TBLDEF 结构用于定义表的相关信息,其代码如下:
int ncol; /** Save file. Path and name of a file which stores * the non-volatile part of the table. The file has * all of the UPDATE statements needed to rebuild the * table. The file is rewritten in its entirety each * time a 'savetodisk' column is UPDATEd. No file * save is attempted if savefile is blank. */ char *savefile; /** Help text. A description of the table, how it is * used, and what its intent is. A brief note to * describe how it relates to other parts of the system * and description of important callbacks is a nice * thing to include here. */ char *help; } TBLDEF;ncol:表示表的列数。 </