55 lines
2.0 KiB
HTML
55 lines
2.0 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
|
<title>API Prototype Changes</title>
|
|
<!-- Begin Header Records ========================================== -->
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<!-- Change History: -->
|
|
<!-- YYMMDD USERID Change description -->
|
|
<!-- End Header Records -->
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body>
|
|
<!-- Java sync-link -->
|
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
|
</script>
|
|
|
|
|
|
<h2>API Prototype Changes</h2>
|
|
|
|
<p>For many of the LDAP APIs, the prototype has changed. On many of the API
|
|
prototypes where a <strong>"char *"</strong> is used, the prototype has changed
|
|
to use a <strong>"const char *"</strong>. This is the result of changes to the
|
|
standards. i5/OS<SUP>(TM)</SUP> is providing a way to transition to the new prototypes.
|
|
Inserting</p>
|
|
|
|
<p>#define _QGLDNOCONST</p>
|
|
|
|
<p>in applications code prior to the include of ldap.h causes the definition of
|
|
the old prototypes that use <strong>"char *"</strong> to be made available. If
|
|
_QGLDNOCONST, which is the default, is not defined, the definition of the new
|
|
prototypes that use <strong>"const char *"</strong> is made available.</p>
|
|
|
|
<p>In some future release, the use of _QGLDNOCONST will be withdrawn.</p>
|
|
|
|
<br>
|
|
<hr>
|
|
<center>
|
|
<table cellpadding="2" cellspacing="2">
|
|
<tr align="center">
|
|
<td valign="middle" align="center">
|
|
<a href="dirserv1.htm">Directory Server APIs</a> |
|
|
<a href="aplist.htm">APIs by
|
|
category</a></td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>
|
|
|