X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Flutil.h;h=b20be1d70f1678d279d0cfdd9bc1bb72d0b87049;hb=760f527af2d97f3aa744222e10905d356ef4fe06;hp=9e40663201d3133e00fff5c2e5e9c24d4883828d;hpb=4e32148ac59ba6b4f3acc79a3b782cd3556f941a;p=openldap diff --git a/include/lutil.h b/include/lutil.h index 9e40663201..b20be1d70f 100644 --- a/include/lutil.h +++ b/include/lutil.h @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2007 The OpenLDAP Foundation. + * Copyright 1998-2008 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -304,6 +304,9 @@ lutil_atoulx( unsigned long *v, const char *s, int x ); #define lutil_atol(v, s) lutil_atolx((v), (s), 10) #define lutil_atoul(v, s) lutil_atoulx((v), (s), 10) +LDAP_LUTIL_F (int) +lutil_str2bin( struct berval *in, struct berval *out, void *ctx ); + /* Parse and unparse time intervals */ LDAP_LUTIL_F (int) lutil_parse_time( const char *in, unsigned long *tp );