Skip to content
Snippets Groups Projects
Commit 4575da85 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(cached_get_keep_commented): New function.

parent 916aa39b
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id: cache.h,v 0.24 2003/07/12 21:27:19 ceder Exp $ * $Id: cache.h,v 0.25 2003/08/11 10:55:48 ceder Exp $
* Copyright (C) 1991-1996, 1999 Lysator Academic Computer Association. * Copyright (C) 1991-1996, 1999 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -125,6 +125,9 @@ Conf_no cached_get_conf_supervisor(Conf_no conf_no); ...@@ -125,6 +125,9 @@ Conf_no cached_get_conf_supervisor(Conf_no conf_no);
/* Get garb_nice from smallconf */ /* Get garb_nice from smallconf */
Garb_nice cached_get_garb_nice(Conf_no conf); Garb_nice cached_get_garb_nice(Conf_no conf);
/* Get keep_commented from smallconf */
Garb_nice cached_get_keep_commented(Conf_no conf);
/* returns conference name from smallconf */ /* returns conference name from smallconf */
String cached_get_name(Conf_no conf); String cached_get_name(Conf_no conf);
......
/* /*
* $Id: dbck-cache.c,v 0.53 2003/07/12 22:26:32 ceder Exp $ * $Id: dbck-cache.c,v 0.54 2003/08/11 10:55:41 ceder Exp $
* Copyright (C) 1991-1999, 2001-2002 Lysator Academic Computer Association. * Copyright (C) 1991-1999, 2001-2002 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -467,6 +467,12 @@ cached_get_garb_nice (Conf_no conf_no) ...@@ -467,6 +467,12 @@ cached_get_garb_nice (Conf_no conf_no)
return conf_arr [ conf_no ]->nice; return conf_arr [ conf_no ]->nice;
} }
extern Garb_nice
cached_get_keep_commented(Conf_no conf_no)
{
return conf_arr[conf_no]->keep_commented;
}
extern Local_text_no extern Local_text_no
cached_get_highest_local_no (Conf_no conf_no) cached_get_highest_local_no (Conf_no conf_no)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment