-
Notifications
You must be signed in to change notification settings - Fork 0
/
OCGIFormResultType.h
29 lines (23 loc) · 1.03 KB
/
OCGIFormResultType.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once
#include "cgic.h"
#import <Foundation/Foundation.h>
#define OCGIFormResultType cgiFormResultType
#define OCGI_FORM_SUCCESS cgiFormSuccess
#define OCGI_FORM_TRUNCATED cgiFormTruncated
#define OCGI_FORM_BAD_TYPE cgiFormBadType
#define OCGI_FORM_EMPTY cgiFormEmpty
#define OCGI_FORM_NOT_FOUND cgiFormNotFound
#define OCGI_FORM_CONSTRAINED cgiFormConstrained
#define OCGI_FORM_NO_SUCH_CHOICE cgiFormNoSuchChoice
#define OCGI_FORM_MEMORY cgiFormMemory
#define OCGI_FORM_NO_FILE_NAME cgiFormNoFileName
#define OCGI_FORM_NO_CONTENT_TYPE cgiFormNoContentType
#define OCGI_FORM_NOT_A_FILE cgiFormNotAFile
#define OCGI_FORM_OPEN_FAILED cgiFormOpenFailed
#define OCGI_FORM_IO cgiFormIO
#define OCGI_FORM_EOF cgiFormEOF
@protocol OCGIFormResultType
+(NSNumber *) numberWithOCGIFormResultType: (OCGIFormResultType)type;
-(NSNumber *) initWithOCGIFormResultType: (OCGIFormResultType)type;
-(OCGIFormResultType) ocgiFormResultType;
@end