cfengine  3.15.4
About: CFEngine is a configuration management system for configuring and maintaining Unix-like computers (using an own high level policy language). Community version.
  Fossies Dox: cfengine-3.15.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

attributes.h
Go to the documentation of this file.
1 /*
2  Copyright 2019 Northern.tech AS
3 
4  This file is part of CFEngine 3 - written and maintained by Northern.tech AS.
5 
6  This program is free software; you can redistribute it and/or modify it
7  under the terms of the GNU General Public License as published by the
8  Free Software Foundation; version 3.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; if not, write to the Free Software
17  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
18 
19  To the extent this program is licensed as part of the Enterprise
20  versions of CFEngine, the applicable Commercial Open Source License
21  (COSL) may apply to this file if you as a licensee so wish it. See
22  included file COSL.txt.
23 */
24 
25 #ifndef CFENGINE_ATTRIBUTES_H
26 #define CFENGINE_ATTRIBUTES_H
27 
28 #include <cf3.defs.h>
29 
31 Attributes GetColumnAttributes(const EvalContext *ctx, const Promise *pp);
35 Attributes GetExecAttributes(const EvalContext *ctx, const Promise *pp);
37 /* Every return from GetFilesAttributes() must be passed to
38  * ClearFilesAttributes() when you're done with it. */
39 Attributes GetFilesAttributes(const EvalContext *ctx, const Promise *pp);
43 Attributes GetMethodAttributes(const EvalContext *ctx, const Promise *pp);
45 Attributes GetPackageAttributes(const EvalContext *ctx, const Promise *pp);
46 Attributes GetUserAttributes(const EvalContext *ctx, const Promise *pp);
47 Attributes GetProcessAttributes(const EvalContext *ctx, const Promise *pp);
48 Attributes GetReplaceAttributes(const EvalContext *ctx, const Promise *pp);
49 Attributes GetReportsAttributes(const EvalContext *ctx, const Promise *pp);
51 Attributes GetStorageAttributes(const EvalContext *ctx, const Promise *pp);
52 
53 Acl GetAclConstraints(const EvalContext *ctx, const Promise *pp);
55 Database GetDatabaseConstraints(const EvalContext *ctx, const Promise *pp);
57 EditColumn GetColumnConstraints(const EvalContext *ctx, const Promise *pp);
58 EditDefaults GetEditDefaults(const EvalContext *ctx, const Promise *pp);
61 EditRegion GetRegionConstraints(const EvalContext *ctx, const Promise *pp);
67 FileCopy GetCopyConstraints(const EvalContext *ctx, const Promise *pp);
68 FileDelete GetDeleteConstraints(const EvalContext *ctx, const Promise *pp);
69 FileLink GetLinkConstraints(const EvalContext *ctx, const Promise *pp);
70 FileRename GetRenameConstraints(const EvalContext *ctx, const Promise *pp);
71 FileSelect GetSelectConstraints(const EvalContext *ctx, const Promise *pp);
75 Packages GetPackageConstraints(const EvalContext *ctx, const Promise *pp);
80 Report GetReportConstraints(const EvalContext *ctx, const Promise *pp);
81 Services GetServicesConstraints(const EvalContext *ctx, const Promise *pp);
85 
86 #endif
EditLocation GetLocationAttributes(const Promise *pp)
Definition: attributes.c:1450
TransactionContext GetTransactionConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:664
FileRename GetRenameConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:810
Attributes GetServicesAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:143
Attributes GetClassContextAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:231
EditReplace GetReplaceConstraints(const Promise *pp)
Definition: attributes.c:1595
StorageMount GetMountConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1642
LineSelect GetDeleteSelectConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1755
FileChange GetChangeMgtConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:838
HashMethod GetBestFileChangeHashMethod()
Definition: attributes.c:833
Attributes GetDeletionAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1474
Attributes GetEnvironmentsAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:130
NewPackages GetNewPackageConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1219
Attributes GetStorageAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:304
Attributes GetReportsAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:117
Attributes GetFilesAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:46
Services GetServicesConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:371
EditDefaults GetEditDefaults(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1040
void ClearFilesAttributes(Attributes *whom)
Definition: attributes.c:40
Report GetReportConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1687
ContextConstraint GetContextConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1083
FileSelect GetSelectConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:527
Attributes GetReplaceAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1524
LineSelect GetInsertSelectConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1739
Attributes GetPackageAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:157
EditXml GetXmlConstraints(const Promise *pp)
Definition: attributes.c:1551
Attributes GetMeasurementAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:350
ProcessCount GetMatchesConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1400
ProcessSelect GetProcessFilterConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1265
Attributes GetUserAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:203
Environments GetEnvironmentsConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:387
Attributes GetInferencesAttributes(const EvalContext *ctx, const Promise *pp)
Measurement GetMeasurementConstraint(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1771
DefineClasses GetClassDefinitionConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:742
FileLink GetLinkConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:997
Database GetDatabaseConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1799
Acl GetAclConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:456
FileCopy GetCopyConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:914
Attributes GetOccurrenceAttributes(const EvalContext *ctx, const Promise *pp)
Attributes GetProcessAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:278
Packages GetPackageConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1120
EditColumn GetColumnConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1607
EditRegion GetRegionConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1564
Attributes GetColumnAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1501
ExecContain GetExecContainConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:408
StorageVolume GetVolumeConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1658
DirectoryRecursion GetRecursionConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:434
Attributes GetExecAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:244
FileDelete GetDeleteConstraints(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:788
Attributes GetMethodAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:331
Attributes GetDatabaseAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:219
Attributes GetInsertionAttributes(const EvalContext *ctx, const Promise *pp)
Definition: attributes.c:1417
#define ENTERPRISE_FUNC_0ARG_DECLARE(__ret, __func)
HashMethod
Definition: hash_method.h:36
Definition: cf3.defs.h:858