Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
hashTableFunction.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017-2019 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
23 #ifndef hashTableFunction_h
24 #define hashTableFunction_h
25 
26 #include <parc/algol/parc_HashCodeTable.h>
27 
28 // ==========================================================
29 // These functions operate on a message as the key in the HashTable.
30 // The functions use void * rather than message instances in the function
31 // signature because it is using generic has code tables from PARC Library
32 
62 bool hashTableFunction_MessageNameEquals(const void *messageA,
63  const void *messageB);
64 
72 HashCodeType hashTableFunction_MessageNameHashCode(const void *messageA);
73 #endif // hashTableFunction_h
hashTableFunction_MessageNameHashCode
HashCodeType hashTableFunction_MessageNameHashCode(const void *messageA)
hashTableFunction_MessageNameEquals
bool hashTableFunction_MessageNameEquals(const void *messageA, const void *messageB)