Commit 5a5f9219 authored by Howard Chu's avatar Howard Chu
Browse files

Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy

Added lutil_gentime
parent 155c1648
......@@ -106,6 +106,15 @@ lutil_progname LDAP_P((
int argc,
char *argv[] ));
LDAP_LUTIL_F( char* )
lutil_strcopy LDAP_P(( char *dst, const char *src ));
LDAP_LUTIL_F( char* )
lutil_strncopy LDAP_P(( char *dst, const char *src, size_t n ));
LDAP_LUTIL_F( size_t )
lutil_gentime LDAP_P(( char *s, size_t max, const struct tm *tm ));
mkstemp LDAP_P (( char * template ));
......@@ -145,6 +154,16 @@ LDAP_LUTIL_V (SERVICE_STATUS_HANDLE) hSLAPDServiceStatus;
/* Generally this has only been used to put '\n' to stdout. We need to
* make sure it is output in EBCDIC.
#undef putchar
#undef putc
#define putchar(c) putc((c), stdout)
#define putc(c,fp) do { char x=(c); __atoe_l(&x,1); putc(x,fp); } while(0)
#endif /* _LUTIL_H */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment