summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ftp.h
diff options
context:
space:
mode:
authorMichael Brown2006-04-30 18:59:45 +0200
committerMichael Brown2006-04-30 18:59:45 +0200
commit9e1becaf8a2bd12b5f75ee77b6bb138992bb1a6c (patch)
tree0e4a50f1b14abc877b9d24736eff4d77b43a8d05 /src/include/gpxe/ftp.h
parentHalf-way tidy (diff)
downloadipxe-9e1becaf8a2bd12b5f75ee77b6bb138992bb1a6c.tar.gz
ipxe-9e1becaf8a2bd12b5f75ee77b6bb138992bb1a6c.tar.xz
ipxe-9e1becaf8a2bd12b5f75ee77b6bb138992bb1a6c.zip
Merge TCP aborted(), timedout() and closed() methods into a single
closed() method with a reason code.
Diffstat (limited to 'src/include/gpxe/ftp.h')
-rw-r--r--src/include/gpxe/ftp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gpxe/ftp.h b/src/include/gpxe/ftp.h
index f2db5a13..6063abe9 100644
--- a/src/include/gpxe/ftp.h
+++ b/src/include/gpxe/ftp.h
@@ -10,6 +10,12 @@
#include <stdint.h>
#include <gpxe/tcp.h>
+/**
+ * FTP states
+ *
+ * These @b must be sequential, i.e. a successful FTP session must
+ * pass through each of these states in order.
+ */
enum ftp_state {
FTP_CONNECT = 0,
FTP_USER,