Permalink
Browse files

Added a way to get at a single parts struct mailmime_single_fields

  • Loading branch information...
1 parent 7883a1b commit bc90b0946fbff1638d67e48e0309423727d8f226 @mronge mronge committed Feb 8, 2013
Showing with 6 additions and 0 deletions.
  1. +3 −0 Source/CTMIME_SinglePart.h
  2. +3 −0 Source/CTMIME_SinglePart.m
@@ -62,4 +62,7 @@ typedef void (^CTProgressBlock)(size_t curr, size_t max);
- (id)initWithData:(NSData *)data;
- (BOOL)fetchPart;
- (BOOL)fetchPartWithProgress:(CTProgressBlock)block;
+
+// Advanced use only
+- (struct mailmime_single_fields *)mimeFields;
@end
@@ -228,6 +228,9 @@ - (size_t)size {
return 0;
}
+- (struct mailmime_single_fields *)mimeFields {
+ return mMimeFields;
+}
- (void)dealloc {
mailmime_single_fields_free(mMimeFields);

0 comments on commit bc90b09

Please sign in to comment.