You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					40 lines
				
				1.2 KiB
			
		
		
			
		
	
	
					40 lines
				
				1.2 KiB
			| 
								 
											6 years ago
										 
									 | 
							
								/*  =========================================================================
							 | 
						||
| 
								 | 
							
								    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:
							 | 
						||
| 
								 | 
							
								    http://czmq.zeromq.org.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    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 http://mozilla.org/MPL/2.0/.
							 | 
						||
| 
								 | 
							
								    =========================================================================
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  "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"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#endif
							 |