aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-01-16 16:59:47 -0600
committerRob Landley <rob@landley.net>2016-01-16 16:59:47 -0600
commit5493916370c74944cc796cc91d058fb4ccabe140 (patch)
treece6a45d351c227c0c14083d5f48ae1e8ed919589 /lib/lib.h
parent7279b849f48e2ceb1d35e82e53b14343b708d776 (diff)
downloadtoybox-5493916370c74944cc796cc91d058fb4ccabe140.tar.gz
Move create_uuid() to lib and xpoll() to lib/net.c.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lib.h b/lib/lib.h
index a6998a86..0c6d3796 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -194,7 +194,7 @@ void crc_init(unsigned int *crc_table, int little_endian);
void base64_init(char *p);
int yesno(int def);
int qstrcmp(const void *a, const void *b);
-int xpoll(struct pollfd *fds, int nfds, int timeout);
+void create_uuid(char *uuid);
#define HR_SPACE 1 // Space between number and units
#define HR_B 2 // Use "B" for single byte units
@@ -236,6 +236,7 @@ int xsocket(int domain, int type, int protocol);
void xsetsockopt(int fd, int level, int opt, void *val, socklen_t len);
int xconnect(char *host, char *port, int family, int socktype, int protocol,
int flags);
+int xpoll(struct pollfd *fds, int nfds, int timeout);
// password.c
int get_salt(char *salt, char * algo);