Various header changes.
This commit is contained in:
parent
d23a617a83
commit
eacbfb241a
4 changed files with 19 additions and 1 deletions
|
|
@ -101,6 +101,8 @@ int parseether(uchar*, char*);
|
||||||
int myipaddr(uchar*, char*);
|
int myipaddr(uchar*, char*);
|
||||||
int myetheraddr(uchar*, char*);
|
int myetheraddr(uchar*, char*);
|
||||||
int equivip(uchar*, uchar*);
|
int equivip(uchar*, uchar*);
|
||||||
|
long udpread(int, Udphdr*, void*, long);
|
||||||
|
long udpwrite(int, Udphdr*, void*, long);
|
||||||
|
|
||||||
Ipifc* readipifc(char*, Ipifc*, int);
|
Ipifc* readipifc(char*, Ipifc*, int);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -456,6 +456,7 @@ extern int iounit(int);
|
||||||
/* extern double ldexp(double, int); <math.h> */
|
/* extern double ldexp(double, int); <math.h> */
|
||||||
extern void p9longjmp(p9jmp_buf, int);
|
extern void p9longjmp(p9jmp_buf, int);
|
||||||
extern char* mktemp(char*);
|
extern char* mktemp(char*);
|
||||||
|
extern int opentemp(char*);
|
||||||
/* extern double modf(double, double*); <math.h> */
|
/* extern double modf(double, double*); <math.h> */
|
||||||
extern int netcrypt(void*, void*);
|
extern int netcrypt(void*, void*);
|
||||||
extern void p9notejmp(void*, p9jmp_buf, int);
|
extern void p9notejmp(void*, p9jmp_buf, int);
|
||||||
|
|
@ -475,13 +476,15 @@ extern vlong strtoll(char*, char**, int);
|
||||||
extern uvlong strtoull(char*, char**, int);
|
extern uvlong strtoull(char*, char**, int);
|
||||||
*/
|
*/
|
||||||
extern void sysfatal(char*, ...);
|
extern void sysfatal(char*, ...);
|
||||||
extern void syslog(int, char*, char*, ...);
|
extern void p9syslog(int, char*, char*, ...);
|
||||||
extern long time(long*);
|
extern long time(long*);
|
||||||
/* extern int tolower(int); <ctype.h> */
|
/* extern int tolower(int); <ctype.h> */
|
||||||
/* extern int toupper(int); <ctype.h> */
|
/* extern int toupper(int); <ctype.h> */
|
||||||
#ifndef NOPLAN9DEFINES
|
#ifndef NOPLAN9DEFINES
|
||||||
#define atexit p9atexit
|
#define atexit p9atexit
|
||||||
#define atexitdont p9atexitdont
|
#define atexitdont p9atexitdont
|
||||||
|
#define encrypt p9encrypt
|
||||||
|
#define decrypt p9decrypt
|
||||||
#define getenv p9getenv
|
#define getenv p9getenv
|
||||||
#define getwd p9getwd
|
#define getwd p9getwd
|
||||||
#define longjmp p9longjmp
|
#define longjmp p9longjmp
|
||||||
|
|
@ -490,6 +493,7 @@ extern long time(long*);
|
||||||
#define putenv p9putenv
|
#define putenv p9putenv
|
||||||
#define notejmp p9notejmp
|
#define notejmp p9notejmp
|
||||||
#define jmp_buf p9jmp_buf
|
#define jmp_buf p9jmp_buf
|
||||||
|
#define syslog p9syslog
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,13 @@ char* plumblookup(Plumbattr*, char*);
|
||||||
int plumbopen(char*, int);
|
int plumbopen(char*, int);
|
||||||
int eplumb(int, char*);
|
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)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,11 @@ uint vtfromdisktype(uint);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* VtEntry describes a Venti stream
|
* 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
|
enum
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue