X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fslapi-plugin.h;h=691c3b2527b5463d3249a0fdb96147c3fb6fed51;hb=21b9cc54b1b9954a1f4f5308f388aab5cb22fdee;hp=4eda66ebabf662de758dadb896aed6f998510af4;hpb=1878d201c1e0a7f42b0d5ee66d7f5a2368027c9c;p=openldap diff --git a/include/slapi-plugin.h b/include/slapi-plugin.h index 4eda66ebab..691c3b2527 100644 --- a/include/slapi-plugin.h +++ b/include/slapi-plugin.h @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2012 The OpenLDAP Foundation. + * Copyright 1998-2013 The OpenLDAP Foundation. * Portions Copyright 1997,2002,2003 IBM Corporation. * All rights reserved. * @@ -399,6 +399,8 @@ void slapi_seq_internal_set_pb( Slapi_PBlock *pb, char *ibase, int type, /* connection related routines */ int slapi_is_connection_ssl(Slapi_PBlock *pPB, int *isSSL); int slapi_get_client_port(Slapi_PBlock *pPB, int *fromPort); +int slapi_get_client_ip(Slapi_PBlock *pb, char **clientIP); +void slapi_free_client_ip(char **clientIP); /* computed attributes */ typedef struct _computed_attr_context computed_attr_context;