Slapi_Value_New_String() - Red Hat DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS Manual

Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
slapi_value_new_berval(const struct berval *bval);
Parameters
This function takes the following parameter:
bval
Returns
This function returns a pointer to the newly allocated
be allocated (for example, if no more virtual memory exists), the
will terminate.
Description
This function returns a
the
berval
Memory Concerns
When you are no longer using the value, you should free it from memory by
calling
See Also
slapi_value_new()
slapi_value_dup()
slapi_value_free()

slapi_value_new_string()

slapi_value_new_string()
Allocates a new
Syntax
#include "slapi-plugin.h"
slapi_value_new_string(const char *s);
Parameters
This function takes the following parameter:
Pointer to the berval structure used to initialize the newly
allocated Slapi_Value.
Slapi_Value
structure passed as the parameter.
slapi_value_free()
Slapi_Value
structure containing a value duplicated from
.
structure and initializes it from a string.
Functions for Handling Values
. If space cannot
Slapi_Value
program
slapd
Chapter 15
Function Reference
521

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 7.1

Table of Contents