/* * Stream management functions. * * Copyright 2000-2012 Willy Tarreau * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. * */ #include #include #include #include #include #include struct pool_head *pool2_session; /* perform minimal intializations, report 0 in case of error, 1 if OK. */ int init_session() { pool2_session = create_pool("session", sizeof(struct session), MEM_F_SHARED); return pool2_session != NULL; } /* * Local variables: * c-indent-level: 8 * c-basic-offset: 8 * End: */