1 #ifndef NAMED_BUFFER_INCLUDED 2 #define NAMED_BUFFER_INCLUDED 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 #include "membuf.h" 32 33 void named_buffer_init(); 34 void named_buffer_free(); 35 36 struct membuf *new_named_buffer(const char *name); 37 struct membuf *get_named_buffer(const char *name); 38 39 #endif 40