00001
00002
00003
00004
00005
00006
00007 #import <Message/Connection.h>
00008
00009 @class NSData, NSMutableData, NSString;
00010
00011 @interface POP3Connection : Connection
00012 {
00013 NSMutableData *_sendBuffer;
00014 struct __CFDictionary *_listResults;
00015 struct __CFDictionary *_messageIdsByNumber;
00016 struct __CFDictionary *_numbersByMessageId;
00017 NSData *_apopTimeStamp;
00018 id _delegate;
00019 unsigned int _numberOfMessagesAvailable:24;
00020 unsigned int _state:4;
00021 unsigned int _delegateRespondsToReceivedNumberOfBytes:1;
00022 unsigned int _delegateRespondsToWillRetrieveMessageNumber:1;
00023 unsigned int _delegateRespondsToDidRetrieveMessageNumber:1;
00024 unsigned int _hidingPassword:1;
00025 NSString *_accountURL;
00026 }
00027
00028 - (id)init;
00029 - (void)dealloc;
00030 - (id)capabilities;
00031 - (id)authenticationMechanisms;
00032 - (BOOL)_doBasicConnectionWithAccount:(id)fp8;
00033 - (BOOL)connectUsingAccount:(id)fp8;
00034 - (BOOL)authenticateUsingAccount:(id)fp8;
00035 - (BOOL)authenticateUsingAccount:(id)fp8 authenticator:(id)fp12;
00036 - (int)quit;
00037 - (BOOL)supportsAPOP;
00038 - (void)disableAPOP;
00039 - (int)doStat;
00040 - (int)list:(int)fp8;
00041 - (int)_getListResults;
00042 - (int)_getUidlResults;
00043 - (int)getMessageNumbers:(const struct __CFArray **)fp8 messageIdsByNumber:(const struct __CFDictionary **)fp12 numbersByMessageId:(const struct __CFDictionary **)fp16;
00044 - (unsigned int)serverMessageCount;
00045 - (int)getMessageNumbers:(const struct __CFArray **)fp8 andMessageIdsByNumber:(const struct __CFDictionary **)fp12;
00046 - (id)idForMessageNumber:(int)fp8;
00047 - (int)_retrieveMessage:(unsigned long)fp8 ofSize:(unsigned int)fp12 informDelegate:(BOOL)fp16 consumer:(id)fp20;
00048 - (int)retr:(unsigned long)fp8 consumer:(id)fp12 intoQueue:(id)fp16 idsByNumber:(struct __CFDictionary *)fp20 allowIncomplete:(BOOL)fp24 queueStatus:(char *)fp28;
00049 - (int)retr:(unsigned long)fp8 data:(id *)fp12;
00050 - (int)retr:(unsigned long)fp8 dataConsumer:(id)fp12;
00051 - (int)dele:(unsigned long)fp8;
00052 - (id)retainedMessageHeaderForMessageNumber:(unsigned long)fp8;
00053 - (void)getTopOfMessageNumber:(unsigned long)fp8 intoMutableData:(id)fp12;
00054 - (unsigned long)sizeOfMessageNumber:(unsigned long)fp8;
00055 - (BOOL)messagesAvailable;
00056 - (unsigned int)numberOfMessagesAvailable;
00057 - (int)fetchMessages:(struct __CFArray *)fp8 intoQueue:(id)fp12 serverIDsByNumber:(struct __CFDictionary *)fp16;
00058 - (int)fetchMessages:(struct __CFArray *)fp8;
00059 - (int)deleteMessagesOnServer:(struct __CFArray *)fp8;
00060 - (void)setDelegate:(id)fp8;
00061 - (id)delegate;
00062 - (BOOL)startTLSForAccount:(id)fp8;
00063
00064 @end
00065