1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef DROPBEAR_COMPAT_H_
- #define DROPBEAR_COMPAT_H_
- #include "includes.h"
- #ifndef HAVE_STRLCPY
- size_t strlcpy(char *dst, const char *src, size_t size);
- #endif
- #ifndef HAVE_STRLCAT
- size_t strlcat(char *dst, const char *src, size_t siz);
- #endif
- #ifndef HAVE_DAEMON
- int daemon(int nochdir, int noclose);
- #endif
- #ifndef HAVE_BASENAME
- char *basename(const char* path);
- #endif
- #ifndef HAVE_GETUSERSHELL
- char *getusershell(void);
- void setusershell(void);
- void endusershell(void);
- #endif
- #ifndef DROPBEAR_PATH_DEVNULL
- #define DROPBEAR_PATH_DEVNULL "/dev/null"
- #endif
- #endif
|