X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=include%2Ffile.h;h=ca76a52238559f62028a60abc290f2fa3acd00ee;hb=98eacaa1983cde1532e80e67466dfa615e5564a2;hp=b6b9fe51236e90063eb3d13f775495e8efc04191;hpb=2ad0d7649e5042cad43a16b4a03bf53f39948316;p=yaboot.git diff --git a/include/file.h b/include/file.h index b6b9fe5..ca76a52 100644 --- a/include/file.h +++ b/include/file.h @@ -39,7 +39,13 @@ struct boot_file_t; struct boot_fspec_t { char* dev; /* OF device path */ int part; /* Partition number or -1 */ + char* siaddr; /* Server address */ char* file; /* File path */ + char* ciaddr; /* Client address */ + char* giaddr; /* Gateway address */ + char* bootp_retries; /* Bootp retries */ + char* tftp_retries; /* TFTP retries */ + char* addl_params; /* copy all additional parameters */ }; struct boot_file_t { @@ -63,7 +69,7 @@ struct boot_file_t { }; extern int -open_file(const struct boot_fspec_t* spec, +open_file(struct boot_fspec_t* spec, struct boot_file_t* file); extern int