RegExpMultiInit

Initializes the state structure for multi-pattern search engine.

Syntax

IppStatus ippsRegExpMultiInit(IppRegExpMultiState* pState, Ipp32u numPatterns);

Parameters

pState

Pointer to the state structure for the multi-pattern search.

numPatterns

Maximum number of patterns.

Description

The function ippsRegExpMultiInit is declared in the ippch.h file. This function initializes the state structure for multi-pattern search engine pState in the external buffer. The size of this buffer must be computed previously by calling the function ippsRegExpMultiGetSize.

Caution iconCaution

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pState 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.