Allocates and initializes the state structure for multi-pattern search engine.
IppStatus ippsRegExpMultiInitAlloc(IppRegExpMultiState** ppState, Ipp32u numPatterns);
ppState |
Double pointer to the state structure for the multip-pattern search engine. |
numPatterns |
Maximum number of patterns. |
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.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the ppState pointer is NULL. |
ippStsSizeErr |
Indicates an error when numPatterns is equal to zero. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.