RegExpMultiInitAlloc

Allocates and initializes the state structure for multi-pattern search engine.

Syntax

IppStatus ippsRegExpMultiInitAlloc(IppRegExpMultiState** ppState, Ipp32u numPatterns);

Parameters

ppState

Double pointer to the state structure for the multip-pattern search engine.

numPatterns

Maximum number of patterns.

Description

The function ippsRegExpMultiInitAlloc is declared in the ippch.h file. This function allocates memory and initializes the state structure for multi-pattern search engine pState.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the ppState pointer is NULL.

ippStsSizeErr

Indicates an error when numPatterns is equal to zero.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.