singletons.c (158115) | singletons.c (194089) |
---|---|
1/*- 2 * Copyright (c) 2005 Michael Bushkov <bushman@rsu.ru> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2005 Michael Bushkov <bushman@rsu.ru> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/usr.sbin/nscd/singletons.c 158115 2006-04-28 12:03:38Z ume $"); | 29__FBSDID("$FreeBSD: head/usr.sbin/nscd/singletons.c 194089 2009-06-13 00:06:52Z des $"); |
30 | 30 |
31#include <sys/time.h> 32 |
|
31#include "singletons.h" 32 33struct configuration *s_configuration = NULL; 34cache s_cache = INVALID_CACHE; 35struct runtime_env *s_runtime_env = NULL; 36struct agent_table *s_agent_table = NULL; | 33#include "singletons.h" 34 35struct configuration *s_configuration = NULL; 36cache s_cache = INVALID_CACHE; 37struct runtime_env *s_runtime_env = NULL; 38struct agent_table *s_agent_table = NULL; |