diff options
author | Marcus Brinkmann <[email protected]> | 2008-03-21 14:18:22 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2008-03-21 14:18:22 +0000 |
commit | 3de69e5fece18cf9d0b417e34c600d0261bc4728 (patch) | |
tree | a8b6332b3e6e4ffcaa5f3c9212a10b78fef1e046 /src/assuan-defs.h | |
parent | 2008-03-21 Marcus Brinkmann <[email protected]> (diff) | |
download | libassuan-3de69e5fece18cf9d0b417e34c600d0261bc4728.tar.gz libassuan-3de69e5fece18cf9d0b417e34c600d0261bc4728.zip |
2008-03-21 Marcus Brinkmann <[email protected]>
* assuan-defs.h (_assuan_usleep): New prototype.
* assuan-io.c (_assuan_usleep): New function.
* assuan-io-pth.c (_assuan_usleep): New function.
* mkerrors: Do not incude <windows.h>, but assuan-defs.h.
(_assuan_error_is_eagain): Call _assuan_usleep.
Diffstat (limited to 'src/assuan-defs.h')
-rw-r--r-- | src/assuan-defs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/assuan-defs.h b/src/assuan-defs.h index b299435..e2d0f52 100644 --- a/src/assuan-defs.h +++ b/src/assuan-defs.h @@ -1,5 +1,5 @@ /* assuan-defs.c - Internal definitions to Assuan - * Copyright (C) 2001, 2002, 2004, 2005, 2007 Free Software Foundation, Inc. + * Copyright (C) 2001, 2002, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. * * This file is part of Assuan. * @@ -302,6 +302,9 @@ ssize_t _assuan_simple_sendmsg (assuan_context_t ctx, struct msghdr *msg); ssize_t _assuan_simple_recvmsg (assuan_context_t ctx, struct msghdr *msg); #endif +void _assuan_usleep (unsigned int usec); + + /*-- assuan-socket.c --*/ int _assuan_close (assuan_fd_t fd); assuan_fd_t _assuan_sock_new (int domain, int type, int proto); |