version 1.55, 2004/03/19 07:06:42
|
version 1.57.2.1, 2005/01/20 18:03:48
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/include/lutil.h,v 1.54 2004/03/12 19:07:58 ando Exp $ */ |
/* $OpenLDAP: pkg/ldap/include/lutil.h,v 1.57 2004/09/28 10:22:22 hyc Exp $ */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
* Copyright 1998-2004 The OpenLDAP Foundation. |
* Copyright 1998-2005 The OpenLDAP Foundation. |
* All rights reserved. |
* All rights reserved. |
* |
* |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
Line 147 lutil_progname LDAP_P((
|
Line 147 lutil_progname LDAP_P((
|
int argc, |
int argc, |
char *argv[] )); |
char *argv[] )); |
|
|
|
struct lutil_tm { |
|
int tm_sec; /* seconds 0-60 (1 leap second) */ |
|
int tm_min; /* minutes 0-59 */ |
|
int tm_hour; /* hours 0-23 */ |
|
int tm_mday; /* day 1-31 */ |
|
int tm_mon; /* month 0-11 */ |
|
int tm_year; /* year - 1900 */ |
|
int tm_usec; /* microseconds */ |
|
} lutil_tm; |
|
|
|
struct lutil_timet { |
|
unsigned int tt_sec; /* seconds since 1900 */ |
|
int tt_gsec; /* seconds since 1900, high 7 bits */ |
|
unsigned int tt_usec; /* microseconds */ |
|
} lutil_timet; |
|
|
|
LDAP_LUTIL_F( int ) |
|
lutil_parsetime LDAP_P(( |
|
char *atm, struct lutil_tm * )); |
|
|
|
LDAP_LUTIL_F( int ) |
|
lutil_tm2time LDAP_P(( |
|
struct lutil_tm *, struct lutil_timet * )); |
|
|
#ifdef _WIN32 |
#ifdef _WIN32 |
LDAP_LUTIL_F( void ) |
LDAP_LUTIL_F( void ) |
lutil_slashpath LDAP_P(( char* path )); |
lutil_slashpath LDAP_P(( char* path )); |