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

📄 audit.h

📁 在SCO UNIX制定界面程序 可根据文件配制菜单,而不必修改源程序,非常方便
💻 H
字号:


extern int audit();
extern int check_cen_oper();
static int chk_role_code(), set_role_default();

extern WINDOW *sql_win;
extern int do_query, do_insert, do_update, do_delete;
extern char G_oper_no[];

S_audit Audit;

struct field_st audit_form[] = {
{
	"date",
	FLD_BEGIN + FLD_STRING + FLD_UPD + FLD_CHK,
	17, 2, "",
	3, 20, 8,
	(void *)Audit.date,
	NULL,
	NULL,
},
{
	"time",
	FLD_STRING,
	17, 2, "",
	5, 20, 6,
	(void *)Audit.time,
	NULL,
	NULL
},
{
	"oper_no",
	FLD_STRING,
	17, 2, "",
	7, 20, 6,
	(void *)Audit.oper_no,
	NULL,
	NULL
},
{
	"oper_name",
	FLD_STRING,
	17, 2, "",
	9, 20, 10,
	(void *)Audit.oper_name,
	NULL,
	NULL
},
{
	"role_code",
	FLD_STRING,
	17, 2, "",
	11, 20, 3,
	(void *)Audit.role_code,
	NULL,
	NULL
},
/*
 * 因显示格式与字段值有差异,因此增加FLD_FORM
 * 域用于显示,本域则置为FLD_SKIP,以便显示或
 * 输入时不使用,但构造insert,update语句时使用之。
 *
 * 因其值无需输入,为系统自动给出,因此应由前面
 * 某个字段中执行fieldcheck()予以设置,如
 * set_role_default
 *
 * 为此,tool.c中有关FORM,VIEW,NOEDIT等的fieldcheck
 * 函数已放开执行。
 */
{
	"action",
	FLD_END + FLD_STRING,
	0, 0, "",
	13, 20, 30,
	(void *)Audit.action,
	NULL,
	NULL
}
};

struct field_st *audit_ptr=audit_form;

struct screen_st audit_st= {
	"audit.view",
	{0, 0, 0, 0},
	0,
	audit_form,
	0,
	"audit",
	NULL,
	NULL,
	NULL,
	NULL
};


⌨️ 快捷键说明

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