worked on IMF smartbuffers.
This commit is contained in:
1 parent
3f0a541e80
commit
11f396a749
6 files changed
+72
-69
No files matched your search
+12
-11
@@ -1,26 +1,27 @@
|
||||
#ifndef __IMFMultipart_h__
|
||||
#define __IMFMultipart_h__
|
||||
|
||||
#include "ZString.h"
|
||||
#include "MString.h"
|
||||
#include <vector>
|
||||
|
||||
namespace coreutils {
|
||||
|
||||
class IMFMultipart: public ZString {
|
||||
class IMFMultipart {
|
||||
|
||||
public:
|
||||
IMFMultipart();
|
||||
IMFMultipart(ZString &in, ZString &boundary);
|
||||
IMFMultipart(int fd, int length);
|
||||
|
||||
std::string toString();
|
||||
int getCount();
|
||||
ZString getSectionAt(int index);
|
||||
// std::string toString();
|
||||
// int getCount();
|
||||
// ZString getSectionAt(int index);
|
||||
|
||||
protected:
|
||||
std::vector<ZString> sections;
|
||||
// protected:
|
||||
// std::vector<ZString> sections;
|
||||
|
||||
private:
|
||||
char *boundary;
|
||||
|
||||
MString boundary;
|
||||
std::vector<IMFFormData> sections;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user