OpFlex Framework  1.3.0
ofmutator_c.h
Go to the documentation of this file.
1 /* -*- C -*-; c-basic-offset: 4; indent-tabs-mode: nil */
6 /*
7  * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
8  *
9  * This program and the accompanying materials are made available under the
10  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
11  * and is available at http://www.eclipse.org/legal/epl-v10.html
12  */
13 
14 #include "offramework_c.h"
15 
16 #ifndef OPFLEX_C_OFMUTATOR_H
17 #define OPFLEX_C_OFMUTATOR_H
18 
50 
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54 
67  const char* owner,
68  /* out */ ofmutator_p* mutator);
69 
78  ofstatus ofmutator_destroy(/* out */ ofmutator_p* mutator);
79 
88 
89 
90 #ifdef __cplusplus
91 } /* extern "C" */
92 #endif
93 
98 #endif /* OPFLEX_C_OFMUTATOR_H */
ofobj_p offramework_p
A pointer to an OF framework object.
Definition: offramework_c.h:54
ofstatus ofmutator_destroy(ofmutator_p *mutator)
Destroy a mutator, and zero the pointer.
ofstatus ofmutator_create(offramework_p framework, const char *owner, ofmutator_p *mutator)
Create a new mutator that will work with the provided framework instance.
C wrapper for OFFramework.
ofobj_p ofmutator_p
A pointer to a mutator object.
Definition: ofmutator_c.h:49
void * ofobj_p
Base type for all OpFlex object pointers.
Definition: ofcore_c.h:89
ofstatus ofmutator_commit(ofmutator_p mutator)
Commit the changes stored in the mutator.
int ofstatus
An opflex status code.
Definition: ofcore_c.h:84