Ignore:
Timestamp:
Jan 7, 2009 9:31:14 AM (14 years ago)
Author:
dkearney
Message:

fixing rp library's get() function for retrieving encoded data. if the data is encoded there is no need to do xml entity translation. adding a function rappture's encode class for checking to see if a string has a proper header encode header. adding corresponding tcl functions and tests. also adjusting some of the int declarations to size_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/RpEncode.h

    r1030 r1264  
    2929
    3030int isbinary(const char* buf, int size);
    31 Rappture::Outcome encode (Rappture::Buffer& buf, int flags);
    32 Rappture::Outcome decode (Rappture::Buffer& buf, int flags);
     31size_t isencoded(const char* buf, int size);
     32Rappture::Outcome encode (Rappture::Buffer& buf, size_t flags);
     33Rappture::Outcome decode (Rappture::Buffer& buf, size_t flags);
    3334
    3435#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.