00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __AWHANDLER_FTP__
00024 #define __AWHANDLER_FTP__
00025
00026 #include "tcptxthandler.h"
00027
00085
00086
00087
00088
00089
00090
00091
00092 typedef aw_tcptxthandler_t aw_ftphandler_t;
00093 typedef aw_tcptxthandler_events_t aw_ftphandler_events_t;
00094
00106 aw_ftphandler_t *aw_create_ftphandler(const aw_ftphandler_events_t *events,
00107 const byte_t *url,
00108 const aw_timestamp_t timeout,
00109 int32_t (*regevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index),
00110 int32_t (*regmaskevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index),
00111 const aw_alarm_sched_t *sched,
00112 aw_logger_t *logger
00113 );
00114
00115
00120 void aw_free_ftphandler(aw_ftphandler_t *p);
00121
00122
00126 aw_handler_t *aw_wire_ftphandler(aw_wire_mkhandler_args_t *args);
00127
00128
00129 #endif
00130
00131