summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/hello.h
diff options
context:
space:
mode:
authorMichael Brown2006-06-19 17:46:58 +0200
committerMichael Brown2006-06-19 17:46:58 +0200
commit3a660f9b2580432477e0804e7d94fc01854c481a (patch)
treeb62400baa9ef7a771196534f2a7cdb6c31305ce3 /src/include/gpxe/hello.h
parentPlaceholder (diff)
downloadipxe-3a660f9b2580432477e0804e7d94fc01854c481a.tar.gz
ipxe-3a660f9b2580432477e0804e7d94fc01854c481a.tar.xz
ipxe-3a660f9b2580432477e0804e7d94fc01854c481a.zip
Update ftp.c and hello.c to use the generic async_operations API.
Diffstat (limited to 'src/include/gpxe/hello.h')
-rw-r--r--src/include/gpxe/hello.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/gpxe/hello.h b/src/include/gpxe/hello.h
index a31da3e12..cdd26adfa 100644
--- a/src/include/gpxe/hello.h
+++ b/src/include/gpxe/hello.h
@@ -9,6 +9,7 @@
#include <stdint.h>
#include <gpxe/tcp.h>
+#include <gpxe/async.h>
enum hello_state {
HELLO_SENDING_MESSAGE = 1,
@@ -37,10 +38,10 @@ struct hello_request {
* remote server.
*/
void ( *callback ) ( char *data, size_t len );
- /** Connection complete indicator */
- int complete;
+ /** Asynchronous operation */
+ struct async_operation aop;
};
-extern void hello_connect ( struct hello_request *hello );
+extern struct async_operation * say_hello ( struct hello_request *hello );
#endif