//------------------------------------------------------------------------- // Desc: Class for displaying an file hash table in HTML on a web page. // Tabs: 3 // // Copyright (c) 2001-2003, 2005-2007 Novell, Inc. All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; version 2.1 // of the License. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Library Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, contact Novell, Inc. // // To contact Novell about this file by physical or electronic mail, // you may find current contact information at www.novell.com. // // $Id$ //------------------------------------------------------------------------------ #include "flaimsys.h" /**************************************************************************** Desc: This function implements the display method of the F_FileHashTblPage class. *****************************************************************************/ RCODE F_FileHashTblPage::display( FLMUINT uiNumParams, const char ** ppszParams) { RCODE rc = FERR_OK; FLMINT iIndex; FLMINT iSindex; FLMINT iNindex; FLMBOOL found = FALSE; F_BUCKET * pFileHashTbl; FLMBOOL buckets[FILE_HASH_ENTRIES]; FLMINT next[FILE_HASH_ENTRIES]; FLMBOOL bRefresh; stdHdr(); fnPrintf( m_pHRequest, HTML_DOCTYPE); fnPrintf( m_pHRequest, "\n"); // Determine if we are being requested to refresh this page or not. if ((bRefresh = DetectParameter( uiNumParams, ppszParams, "Refresh")) == TRUE) { fnPrintf( m_pHRequest, "
" "" "