Pajdeg  0.2.2
Pajdeg
PDPipe.h
Go to the documentation of this file.
1 //
2 // PDPipe.h
3 //
4 // Copyright (c) 2012 - 2015 Karl-Johan Alm (http://github.com/kallewoof)
5 //
6 // Permission is hereby granted, free of charge, to any person obtaining a copy
7 // of this software and associated documentation files (the "Software"), to deal
8 // in the Software without restriction, including without limitation the rights
9 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 // copies of the Software, and to permit persons to whom the Software is
11 // furnished to do so, subject to the following conditions:
12 //
13 // The above copyright notice and this permission notice shall be included in
14 // all copies or substantial portions of the Software.
15 //
16 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 // THE SOFTWARE.
23 //
24 
78 #ifndef INCLUDED_PDPipe_h
79 #define INCLUDED_PDPipe_h
80 
81 #include "PDDefines.h"
82 
90 extern PDPipeRef PDPipeCreateWithFilePaths(const char * inputFilePath, const char * outputFilePath);
91 
102 extern void PDPipeAddTask(PDPipeRef pipe, PDTaskRef task);
103 
112 extern PDBool PDPipePrepare(PDPipeRef pipe);
113 
121 
131 
140 extern PDInteger PDPipeExecute(PDPipeRef pipe);
141 
148 extern const char *PDPipeGetInputFilePath(PDPipeRef pipe);
149 
156 extern const char *PDPipeGetOutputFilePath(PDPipeRef pipe);
157 
172 
173 #endif
174 
PDInteger PDPipeExecute(PDPipeRef pipe)
Definition: PDPipe.c:332
long PDInteger
Definition: PDDefines.h:184
unsigned char PDBool
Definition: PDDefines.h:207
Definition: PDParserAttachment.c:42
PDPipeRef PDPipeCreateWithFilePaths(const char *inputFilePath, const char *outputFilePath)
Definition: PDPipe.c:92
void PDPipeAddTask(PDPipeRef pipe, PDTaskRef task)
Definition: PDPipe.c:157
PDParserRef PDPipeGetParser(PDPipeRef pipe)
Definition: PDPipe.c:241
PDParserAttachmentRef PDPipeConnectForeignParser(PDPipeRef pipe, PDParserRef foreignParser)
Definition: PDPipe.c:437
Definition: pd_internal.h:190
const char * PDPipeGetOutputFilePath(PDPipeRef pipe)
Definition: PDPipe.c:432
PDBool PDPipePrepare(PDPipeRef pipe)
Definition: PDPipe.c:259
const char * PDPipeGetInputFilePath(PDPipeRef pipe)
Definition: PDPipe.c:427
Definition: pd_internal.h:408
Definition: pd_internal.h:829
Definition: pd_internal.h:789
Definitions for the Pajdeg interface.
PDObjectRef PDPipeGetRootObject(PDPipeRef pipe)
Definition: PDPipe.c:250