Software and Services, Portable Libraries  2019.Mar.01
A library for managing digital certificates
UpnDbRecord.hpp
1 /*
2 
3  BEGIN_COPYRIGHT
4 
5  Copyright (C) 2017 Douglas Mark Royer, All Rights Reserved.
6 
7  NOTICE:
8 
9  THIS SOURCE CODE BELONGS TO DOUGLAS MARK ROYER AN INDIVIDUAL.
10  THIS CODE IS PROPERTY OF THE COPYRIGHT HOLDER AND IS NOT TO
11  BE DIVULGED OR USED BY PARTIES WHO HAVE NOT RECEIVED WRITTEN
12  AUTHORIZATION FROM THE OWNER.
13 
14  THIS SOFTWARE AND MANUAL ARE BOTH PROTECTED BY UNITED STATES
15  COPYRIGHT LAW (TITLE 17 UNITED STATES CODE). UNAUTHORIZED REPRODUCTION
16  AND/OR SALE MAY RESULT IN IMPRISONMENT OF UP TO ONE YEAR AND FINES
17  OF UP TO $100,000 (17 USC 506). COPYRIGHT INFRINGERS MAY ALSO
18  BE SUBJECT TO CIVIL LIABILITY.
19 
20  THIS NOTICE AND THE ABOVE COPYRIGHT NOTICE MUST REMAIN IN ALL
21  COPIES AND ANY DERIVED WORK.
22 
23  ALL OF THIS CODE IS ORIGINAL WORK BY THE COPYRIGHT HOLDER.
24 
25  THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN IS
26  PROVIDED ON AN "AS IS" BASIS AND OWNER DISCLAIM ALL WARRANTIES,
27  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY
28  THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE
29  ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY
30  OR FITNESS FOR A PARTICULAR PURPOSE.
31 
32  END_INET_COPYRIGHT
33 
34 */
35 
36 #ifndef __DOUGLAS_MARK_ROYER_LIBRARY_UPN_BASERECORD_H__
37 #define __DOUGLAS_MARK_ROYER_LIBRARY_UPN_BASERECORD_H__
38 
39 #include <SaS/Common/osver.h>
40 
41 #ifndef EXPORT_UPN
42 #ifdef BUILDING_SAS_UPNDB_LIBRARY
43 #define EXPORT_UPN EXPORT_OUT
44 #else
45 #define EXPORT_UPN EXPORT_IN
46 #endif
47 #endif
48 
49 #ifdef BUILDING_SAS_UPNDB_LIBRARY
50 #include "UpnDbTypedefs.hpp"
51 #else
52 #include <SaS/UpnDb/UpnDbTypedefs.hpp>
53 #endif
54 
55 namespace SoftwareAndServices
56 {
57  namespace Library
58  {
59  namespace UPN
60  {
61 
67  : public instance<UpnDbRecord>
68  {
69 
70  public:
71 
79  virtual bool Update(UpnDbAuthHandle_t Auth) const = 0;
80 
88  virtual bool Add(UpnDbAuthHandle_t Auth) = 0;
89 
97  virtual bool Remove(UpnDbAuthHandle_t Auth) = 0;
98  };
99 
100  }
101  }
102 }
103 #endif /* __DOUGLAS_MARK_ROYER_LIBRARY_UPN_BASERECORD_H__ */
#define EXPORT_OUT
Return the OS VERISON:
Definition: osver.h:492
Pure virtual base class for Upn DB records.
Definition: UpnDbRecord.hpp:66
Copyright Douglas Mark Royer DouglasRoyer@gmail.com.
Definition: Base.hpp:98