return (DM_NORMAL);
}
-/* Function Name: ListAllGroups
- * Description: This function lists all visable groups.
- * Arguments: none.
- * Returns: DM_NORMAL.
- */
-
-ListAllGroups()
-{
- register int status;
- static char * args[] = {
- "TRUE", /* active */
- "DONTCARE", /* public */
- "FALSE", /* hidden */
- "DONTCARE", /* maillist */
- "TRUE", /* group. */
- };
-
- if (YesNoQuestion("This query will take a while, Do you wish to continue?",
- TRUE) == TRUE )
- if (status = do_mr_query("qualified_get_lists", 5, args,
- Print, (char *) NULL) != 0)
- com_err(program_name, status, " in ListAllGroups");
- return (DM_NORMAL);
-}
-
-/* Function Name: ListAllMailLists
- * Description: This function lists all visable maillists.
- * Arguments: none
- * Returns: DM_NORMAL.
- */
-
-ListAllMailLists()
-{
- register int status;
- static char * args[] = {
- "TRUE", /* active */
- "DONTCARE", /* public */
- "FALSE", /* hidden */
- "TRUE", /* maillist */
- "DONTCARE", /* group. */
- };
-
- if (YesNoQuestion("This query will take a while. Do you wish to continue?",
- TRUE) == TRUE )
- if (status = do_mr_query("qualified_get_lists", 5, args,
- Print, (char *) NULL) != 0)
- com_err(program_name, status, " in ListAllGroups");
-
- return (DM_NORMAL);
-}
-
/* Function Name: ListAllPublicMailLists
* Description: This function lists all public mailing lists.
* Arguments: none
NULLFUNC,
NULLFUNC,
"List Information Menu",
- 5,
+ 3,
{
SIMPLEFUNC("member",
"Show all lists to which a given member belongs",
SIMPLEFUNC("admin",
"Show all items which a given member can administer",
ListByAdministrator),
- SIMPLEFUNC("groups", "Show all lists which are groups",
- ListAllGroups),
SIMPLEFUNC("public", "Show all public mailing lists",
ListAllPublicMailLists),
- SIMPLEFUNC("maillists", "Show all mailing lists",
- ListAllMailLists)
}
};