Last change
on this file since 1018 was
1018,
checked in by gah, 15 years ago
|
Massive changes: New directory/file layout
|
File size:
1.1 KB
|
Rev | Line | |
---|
[671] | 1 | /* |
---|
| 2 | * ====================================================================== |
---|
| 3 | * Rappture::encoding |
---|
| 4 | * |
---|
| 5 | * AUTHOR: Derrick Kearney, Purdue University |
---|
| 6 | * |
---|
| 7 | * Copyright (c) 2004-2007 Purdue Research Foundation |
---|
| 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 | #ifndef RAPPTURE_ENCODE_H |
---|
| 15 | #define RAPPTURE_ENCODE_H |
---|
| 16 | |
---|
| 17 | // #include "rappture.h" |
---|
| 18 | #include "RpBuffer.h" |
---|
[1018] | 19 | #include "RpOutcome.h" |
---|
[671] | 20 | |
---|
| 21 | #define RPENC_Z 1 |
---|
| 22 | #define RPENC_B64 2 |
---|
| 23 | #define RPENC_HDR 4 |
---|
| 24 | |
---|
| 25 | #ifdef __cplusplus |
---|
| 26 | extern "C" { |
---|
| 27 | namespace Rappture { |
---|
| 28 | namespace encoding { |
---|
| 29 | #endif // ifdef __cplusplus |
---|
| 30 | |
---|
| 31 | int isbinary(const char* buf, int size); |
---|
| 32 | Rappture::Outcome encode (Rappture::Buffer& buf, int flags); |
---|
| 33 | Rappture::Outcome decode (Rappture::Buffer& buf, int flags); |
---|
| 34 | |
---|
| 35 | #ifdef __cplusplus |
---|
| 36 | } // namespace encoding |
---|
| 37 | } // namespace Rappture |
---|
| 38 | } // extern C |
---|
| 39 | #endif // ifdef __cplusplus |
---|
| 40 | |
---|
| 41 | #endif // RAPPTURE_ENCODE_H |
---|
Note: See
TracBrowser
for help on using the repository browser.