summaryrefslogtreecommitdiff
path: root/src/UriIp4Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/UriIp4Base.h')
-rw-r--r--src/UriIp4Base.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/UriIp4Base.h b/src/UriIp4Base.h
index 4867850..1a2ff14 100644
--- a/src/UriIp4Base.h
+++ b/src/UriIp4Base.h
@@ -38,22 +38,16 @@
*/
#ifndef URI_IP4_BASE_H
-#define URI_IP4_BASE_H 1
-
-
+# define URI_IP4_BASE_H 1
typedef struct UriIp4ParserStruct {
- unsigned char stackCount;
- unsigned char stackOne;
- unsigned char stackTwo;
- unsigned char stackThree;
+ unsigned char stackCount;
+ unsigned char stackOne;
+ unsigned char stackTwo;
+ unsigned char stackThree;
} UriIp4Parser;
-
-
void uriPushToStack(UriIp4Parser * parser, unsigned char digit);
void uriStackToOctet(UriIp4Parser * parser, unsigned char * octet);
-
-
#endif /* URI_IP4_BASE_H */