/******************************************************************************
* This file is Copyright 1993, 2003 by Philip G. Richards, Radim Kolar
* All Rights Reserved.
* See the file README that came with this distribution for permissions on
* code usage, copying, and distribution.  It comes with absolutely no warranty.
* email: <pgr@prg.ox.ac.uk>
******************************************************************************/

/* ---INFOBEGIN--- *  DO NOT DELETE THIS COMMENT BLOCK!!!
COMMAND flush none "discard cached directory listings"
 *  ---INFOEND---  */

#include "client.h"
#include "table.h"

int
lflush_main(int argc, char *const*argv, char **envp)
{
    util_flushdir();
    util_dirty_version();
    util_flushpro();

    ffprintf(STDINFO,
	     "All cached information cleared.\n");
    return 0;
}


syntax highlighted by Code2HTML, v. 0.9.1