From 3a660f9b2580432477e0804e7d94fc01854c481a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 19 Jun 2006 15:46:58 +0000 Subject: Update ftp.c and hello.c to use the generic async_operations API. --- src/include/gpxe/hello.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/include/gpxe/hello.h') 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 #include +#include 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 -- cgit v1.2.3-55-g7522