Added gphFindParse(), which takes a string length parameter.
This is useful for hash lookups while parsing a const string, to avoid having to copy and nil-terminate it.
This commit is contained in:
committed by
Michael Davidsaver
parent
68dfeb76c0
commit
0ab891fca4
@@ -5,7 +5,7 @@
|
||||
* Operator of Los Alamos National Laboratory.
|
||||
* EPICS BASE Versions 3.13.7
|
||||
* and higher are distributed subject to a Software License Agreement found
|
||||
* in file LICENSE that is included with this distribution.
|
||||
* in file LICENSE that is included with this distribution.
|
||||
\*************************************************************************/
|
||||
/* $Revision-Id$ */
|
||||
/* Author: Marty Kraimer Date: 04-07-94 */
|
||||
@@ -37,6 +37,8 @@ epicsShareFunc void epicsShareAPI
|
||||
gphInitPvt(struct gphPvt **ppvt, int tableSize);
|
||||
epicsShareFunc GPHENTRY * epicsShareAPI
|
||||
gphFind(struct gphPvt *pvt, const char *name, void *pvtid);
|
||||
epicsShareFunc GPHENTRY * epicsShareAPI
|
||||
gphFindParse(struct gphPvt *pvt, const char *name, size_t len, void *pvtid);
|
||||
epicsShareFunc GPHENTRY * epicsShareAPI
|
||||
gphAdd(struct gphPvt *pvt, const char *name, void *pvtid);
|
||||
epicsShareFunc void epicsShareAPI
|
||||
|
||||
Reference in New Issue
Block a user