commit eacbfb241a03515c451bd59a79e905eedcfd7243 from: rsc date: Mon Mar 15 01:58:31 2004 UTC Various header changes. commit - d23a617a8302ef9c6b9edb0a29e3bae4737d5f00 commit + eacbfb241a03515c451bd59a79e905eedcfd7243 blob - 6fbf3946df1ff54d45111da512463064c3e33c43 blob + da1a1ed4c5182e254135e87e0b5596ca789846d7 --- include/ip.h +++ include/ip.h @@ -101,6 +101,8 @@ int parseether(uchar*, char*); int myipaddr(uchar*, char*); int myetheraddr(uchar*, char*); int equivip(uchar*, uchar*); +long udpread(int, Udphdr*, void*, long); +long udpwrite(int, Udphdr*, void*, long); Ipifc* readipifc(char*, Ipifc*, int); blob - 94936e9e141f949323630ef165997a178af6c86d blob + 1373ce1507f32799232f7be5c3997021c7c05c68 --- include/lib9.h +++ include/lib9.h @@ -456,6 +456,7 @@ extern int iounit(int); /* extern double ldexp(double, int); */ extern void p9longjmp(p9jmp_buf, int); extern char* mktemp(char*); +extern int opentemp(char*); /* extern double modf(double, double*); */ extern int netcrypt(void*, void*); extern void p9notejmp(void*, p9jmp_buf, int); @@ -475,13 +476,15 @@ extern vlong strtoll(char*, char**, int); extern uvlong strtoull(char*, char**, int); */ extern void sysfatal(char*, ...); -extern void syslog(int, char*, char*, ...); +extern void p9syslog(int, char*, char*, ...); extern long time(long*); /* extern int tolower(int); */ /* extern int toupper(int); */ #ifndef NOPLAN9DEFINES #define atexit p9atexit #define atexitdont p9atexitdont +#define encrypt p9encrypt +#define decrypt p9decrypt #define getenv p9getenv #define getwd p9getwd #define longjmp p9longjmp @@ -490,6 +493,7 @@ extern long time(long*); #define putenv p9putenv #define notejmp p9notejmp #define jmp_buf p9jmp_buf +#define syslog p9syslog #endif /* blob - a84344accbb273cc85111bad3270904ee19777d1 blob + 06b0aae4c3ed96a1da80679416f939a1f584e4d1 --- include/plumb.h +++ include/plumb.h @@ -55,6 +55,13 @@ char* plumblookup(Plumbattr*, char*); int plumbopen(char*, int); int eplumb(int, char*); +#ifdef _FS_H_ +Fid* plumbopenfid(char*, int); +Plumbmsg* plumbrecvfid(Fid*); +Plumbmsg* threadplumbrecvfid(Fid*); +int plumbsendtofid(Fid*, Plumbmsg*); +#endif + #if defined(__cplusplus) } #endif blob - 557d242082c81d32ab0dcdf755dc6931ee18bc5e blob + 8c58ab3d5aa7b83a0f1d503258c82597264f5512 --- include/venti.h +++ include/venti.h @@ -93,6 +93,11 @@ uint vtfromdisktype(uint); /* * VtEntry describes a Venti stream + * + * The _ enums are only used on the wire. + * They are not present in the VtEntry structure + * and should not be used by client programs. + * (The info is in the type field.) */ enum {