OpFlex Framework 1.7.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
25
45
50
51#ifdef __cplusplus
52extern "C" {
53#endif
54
67 const char* owner,
68 /* out */ ofmutator_p* mutator);
69
79
88
89
90#ifdef __cplusplus
91} /* extern "C" */
92#endif
93
97
98#endif /* OPFLEX_C_OFMUTATOR_H */
int ofstatus
An opflex status code.
Definition ofcore_c.h:84
void * ofobj_p
Base type for all OpFlex object pointers.
Definition ofcore_c.h:89
ofstatus ofmutator_create(offramework_p framework, const char *owner, ofmutator_p *mutator)
Create a new mutator that will work with the provided framework instance.
ofstatus ofmutator_commit(ofmutator_p mutator)
Commit the changes stored in the mutator.
ofobj_p ofmutator_p
A pointer to a mutator object.
Definition ofmutator_c.h:49
ofstatus ofmutator_destroy(ofmutator_p *mutator)
Destroy a mutator, and zero the pointer.
ofobj_p offramework_p
A pointer to an OF framework object.
Definition offramework_c.h:54
C wrapper for OFFramework.