NWDSPutSyntaxName(3nw)


NWDSPutSyntaxName -- stores a syntax name in a request buffer to be used by a Directory Services function

Synopsis

   #include <nwnet.h> 
   or 
   #include <nwdsbuft.h> 
   

NWDSCCODE N_API NWDSPutSyntaxName (NWDSContextHandle context, pBuf_T buf, pnstr8 syntaxName);

Description

The parameters are as follows:

context
(IN) Specifies the Directory context for the request.

buf
(IN) Points to the request buffer being prepared.

syntaxName
(IN) Points to the syntax name to be stored in the request buffer.

Return values

0x0000
SUCCESSFUL

Negative Value
Negative values indicate errors. For errors returned by Directory Services, see ``Directory Services OS Errors'' (-001 to -255), ``Directory Services Client Library Errors'' (-301 to -399), or ``Directory Services Agent in the Server Errors'' (-601 to -699).

Notices

NWDSPutSyntaxName is a macro which calls NWDSPutClassItem.

buf points to Buf_T which is allocated by NWDSAllocBuf and initialized by NWDSInitBuf.

Services

Directory

NCP calls

None

References

NWDSReadClassDef(3nw), NWDSPutClassItem(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.