📄 revokecertlist.h
字号:
/* ====================================================================
* The Ciso Software License, Version 1.0
*
* Copyright (c) 2003-2004 The Chinese Infomation security organization.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution,
* if any, must include the following acknowledgment:
* "This product includes software developed by the
* Ciso(Chinese Infomation Security Organization) Software
* (http://www.infosecurity.org.cn/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
*/
#if !defined(AFX_REVOKECERTLIST_H__95D1BEC5_F446_44EE_A458_CF39497F1210__INCLUDED_)
#define AFX_REVOKECERTLIST_H__95D1BEC5_F446_44EE_A458_CF39497F1210__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "mysql.h"
class AFX_EXT_CLASS CRevokeCertList : public CObject
{
public:
CRevokeCertList();
DECLARE_SERIAL(CRevokeCertList)
virtual ~CRevokeCertList();
public:
time_t GetTime_t(int position);
char * GetSerialStr(int position);
char* GetTimeStr(int position);
long GetSerialNumber(int position);
void GetErrString(char *pErrStr);
int AutoAssemble(MYSQL *,CString SNColName,CString TimeColName);
int GetCount();
private:
// 自动维护内存的申请与释放
int ClearContent();
CObList m_list;
char szErrStr[255];
};
#endif // !defined(AFX_REVOKECERTLIST_H__95D1BEC5_F446_44EE_A458_CF39497F1210__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -