1 #ifndef ALREADY_INCLUDED_CALLBACK 2 #define ALREADY_INCLUDED_CALLBACK 3 4 /* 5 * Copyright (c) 2005 Magnus Lind. 6 * 7 * This software is provided 'as-is', without any express or implied warranty. 8 * In no event will the authors be held liable for any damages arising from 9 * the use of this software. 10 * 11 * Permission is granted to anyone to use this software, alter it and re- 12 * distribute it freely for any non-commercial, non-profit purpose subject to 13 * the following restrictions: 14 * 15 * 1. The origin of this software must not be misrepresented; you must not 16 * claim that you wrote the original software. If you use this software in a 17 * product, an acknowledgment in the product documentation would be 18 * appreciated but is not required. 19 * 20 * 2. Altered source versions must be plainly marked as such, and must not 21 * be misrepresented as being the original software. 22 * 23 * 3. This notice may not be removed or altered from any distribution. 24 * 25 * 4. The names of this software and/or it's copyright holders may not be 26 * used to endorse or promote products derived from this software without 27 * specific prior written permission. 28 * 29 */ 30 31 typedef int cb_cmp(const void *a, const void *b); 32 typedef void cb_free(void *a); 33 34 #endif 35