PXENV_TFTP_CLOSE
[PXE TFTP API]

TFTP CLOSE. More...


Data Structures

struct  s_PXENV_TFTP_CLOSE
 Parameter block for pxenv_tftp_close(). More...

Defines

#define PXENV_TFTP_CLOSE   0x0021
 PXE API function code for pxenv_tftp_close().

Typedefs

typedef struct s_PXENV_TFTP_CLOSE PXENV_TFTP_CLOSE_t

Functions

PXENV_EXIT_t pxenv_tftp_close (struct s_PXENV_TFTP_CLOSE *tftp_close)
 TFTP CLOSE.


Detailed Description

TFTP CLOSE.

Define Documentation

#define PXENV_TFTP_CLOSE   0x0021

PXE API function code for pxenv_tftp_close().

Definition at line 615 of file pxe_api.h.

Referenced by pxe_api_call().


Typedef Documentation

Definition at line 622 of file pxe_api.h.


Function Documentation

PXENV_EXIT_t pxenv_tftp_close ( struct s_PXENV_TFTP_CLOSE tftp_close  ) 

TFTP CLOSE.

Parameters:
tftp_close Pointer to a struct s_PXENV_TFTP_CLOSE
Return values:
PXENV_EXIT_SUCCESS File was closed successfully
PXENV_EXIT_FAILURE File was not closed
s_PXENV_TFTP_CLOSE::Status PXE status code
Exceptions:
None -
Close a connection previously opened with pxenv_tftp_open(). You must have previously opened a connection with pxenv_tftp_open().

On x86, you must set the s_PXE::StatusCallout field to a nonzero value before calling this function in protected mode. You cannot call this function with a 32-bit stack segment. (See the relevant implementation note for more details.)

Definition at line 296 of file pxe_tftp.c.

References DBG, pxe_tftp_close(), PXENV_EXIT_SUCCESS, PXENV_STATUS_SUCCESS, and s_PXENV_TFTP_CLOSE::Status.

Referenced by pxe_api_call().

00296                                                                         {
00297         DBG ( "PXENV_TFTP_CLOSE" );
00298 
00299         pxe_tftp_close ( 0 );
00300         tftp_close->Status = PXENV_STATUS_SUCCESS;
00301         return PXENV_EXIT_SUCCESS;
00302 }


Generated on Tue Apr 6 20:01:59 2010 for gPXE by  doxygen 1.5.7.1