src/server/ucx/ucx.h

Thu, 24 May 2012 12:51:52 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 24 May 2012 12:51:52 +0200
changeset 30
27c7511c0e34
parent 15
cff9c4101dd7
child 31
280250e45ba6
permissions
-rw-r--r--

new proppatch, mkcol and delete method

/* 
 * File:   ucx.h
 * Author: olaf
 *
 * Created on 31. Dezember 2011, 17:17
 */

#ifndef UCX_H
#define	UCX_H

#include <stdlib.h>

#ifdef	__cplusplus
extern "C" {
#endif

/* source,data -> errno */
typedef int(*ucx_callback)(void*,void*);

/* element1,element2,custom data -> {-1,0,1} */
typedef int(*cmp_func)(void*,void*,void*);

/* element,custom data -> copy of element */
typedef void*(*copy_func)(void*,void*);

#ifdef	__cplusplus
}
#endif

#endif	/* UCX_H */

mercurial