source: branches/1.7/src/core/RpOutcomeCInterface.h @ 6694

Last change on this file since 6694 was 5679, checked in by ldelgass, 9 years ago

Full merge 1.3 branch to uq branch to sync. Fixed partial subdirectory merge
by removing mergeinfo from lang/python/Rappture directory.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1/*
2 * ----------------------------------------------------------------------
3 *  INTERFACE: C Rappture Outcome Header
4 *
5 * ======================================================================
6 *  AUTHOR:  Derrick Kearney, Purdue University
7 *  Copyright (c) 2004-2012  HUBzero Foundation, LLC
8 *
9 *  See the file "license.terms" for information on usage and
10 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
11 * ======================================================================
12 */
13
14
15#ifndef _RAPPTURE_OUTCOME_C_H
16#define _RAPPTURE_OUTCOME_C_H
17
18#ifdef __cplusplus
19extern "C" {
20#endif // ifdef __cplusplus
21
22typedef struct {
23    void* _status;
24} RapptureOutcome;
25
26int RapptureOutcomeInit(RapptureOutcome* status);
27int RapptureOutcomeNew(RapptureOutcome* status);
28int RapptureOutcomeFree(RapptureOutcome* status);
29int RapptureOutcomeError(  RapptureOutcome* outcome,
30                           const char* errmsg,
31                           int status  );
32int RapptureOutcomeClear(RapptureOutcome* status);
33int RapptureOutcomeAddContext(RapptureOutcome* status, const char* msg);
34const char* RapptureOutcomeRemark(RapptureOutcome* status);
35const char* RapptureOutcomeContext(RapptureOutcome* status);
36int RapptureOutcomeCheck(RapptureOutcome* status);
37
38#ifdef __cplusplus
39}
40#endif // ifdef __cplusplus
41
42#endif // ifndef _RAPPTURE_OUTCOME_C_H
Note: See TracBrowser for help on using the repository browser.