cwuri.c File Reference

Current working URI. More...

#include <stddef.h>
#include <gpxe/uri.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER)
void churi (struct uri *uri)
 Change working URI.

Variables

struct uricwuri = NULL
 Current working URI.


Detailed Description

Current working URI.

Somewhat analogous to the current working directory in a POSIX system.

Definition in file cwuri.c.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

void churi ( struct uri uri  ) 

Change working URI.

Parameters:
uri New working URI, or NULL

Definition at line 40 of file cwuri.c.

References resolve_uri().

Referenced by image_exec(), and tftp_apply_settings().

00040                                {
00041         struct uri *new_uri;
00042 
00043         new_uri = resolve_uri ( cwuri, uri );
00044         uri_put ( cwuri );
00045         cwuri = new_uri;
00046 }


Variable Documentation

struct uri* cwuri = NULL

Current working URI.

Definition at line 33 of file cwuri.c.

Referenced by image_exec(), and xfer_open_uri().


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