40 lines (31 sloc) 1.25 KB
/* =========================================================================
CZMQ - a high-level binding in C for ZeroMQ
Copyright (c) the Contributors as noted in the AUTHORS file.
This file is part of CZMQ, the high-level C binding for 0MQ:
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at
"Tell them I was a writer.
A maker of software.
A humanist. A father.
And many things.
But above all, a writer.
Thank You. :)
- Pieter Hintjens
#ifndef __CZMQ_H_INCLUDED__
#define __CZMQ_H_INCLUDED__
// These are signatures for handler functions that customize the
// behavior of CZMQ containers. These are shared between all CZMQ
// container types.
// -- destroy an item
typedef void (czmq_destructor) (void **item);
// -- duplicate an item
typedef void *(czmq_duplicator) (const void *item);
// - compare two items, for sorting
typedef int (czmq_comparator) (const void *item1, const void *item2);
// Include the project library file
#include "czmq_library.h"