source: trunk/src/objects/RpChainHelper.h @ 1528

Last change on this file since 1528 was 1528, checked in by dkearney, 15 years ago

updating the objects code and adding some more examples describing how i want developers to use the objects. some of the objects don't work yet, like the tree, anything with an example should work

File size: 681 bytes
Line 
1#ifndef _RP_CHAIN_HELPER_H
2#define _RP_CHAIN_HELPER_H 1
3
4#include "RpInt.h"
5#include "RpChain.h"
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11
12// int chain2hash(Rp_Chain *c, Rp_HashTable *h);
13
14Rp_Chain * Rp_ChainJoin     ( Rp_Chain *c1,
15                              Rp_Chain *c2);
16
17Rp_Chain * Rp_ChainConcat   ( Rp_Chain *c1,
18                              Rp_Chain *c2);
19
20int Rp_ChainCopy            ( Rp_Chain *c1,
21                              Rp_Chain *c2,
22                              int (*cpyFxn)(void **to,void *from));
23
24int Rp_ChainCharCpyFxn (void **to, void *from);
25int Rp_ChainCharCmpFxn (void *to, void *from);
26
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif // _RP_CHAIN_HELPER_H
Note: See TracBrowser for help on using the repository browser.