"Fossies" - the Fresh Open Source Software Archive

Member "npadmin-0.14/npahelpers.h" (19 Apr 2001, 1528 Bytes) of package /linux/misc/old/npadmin-0.14.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* Copyright (c) 2000 Ben Woodard
    2  * All rights reserved.
    3  *
    4  * This program is free software; you can redistribute it and/or
    5  * modify it under the terms of the GNU General Public Licence
    6  * as published by the Free Software Foundation; either version 2
    7  * of the Licence, or (at your option) any later version.
    8  *
    9  * This program is distributed in the hope that it will be useful,
   10  * but WITHOUT ANY WARRENTY; without even the implied warrenty of
   11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   12  * GNU General Public Licence in the COPYING file for more
   13  * details.
   14  *
   15  * You should have received a copy of the GNU Library General 
   16  * Public License along with the GNU C Library; see the file 
   17  * COPYING.LIB.  If not, write to the Free Software Foundation, 
   18  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
   19  */
   20 
   21 #ifndef __NPAHELPERS_H__
   22 #define __NPAHELPERS_H__
   23 
   24 #include "structfill.h"
   25 
   26 void handle_unrecoverable(char *progname,char *connhost,
   27               SNMP_error_unrecoverable &error);
   28 void usage();
   29 void not_sup(const char *option,const char *hostname);
   30 char *decode_status(long stat);
   31 void do_general_get(SNMP_session &session, unsigned long *argflags,
   32             unsigned long &operflags,char **optparam);
   33 void do_connections(unsigned long *argflags,SNMP_session &session,
   34             ConnectionInfoRequest *cir);
   35 void do_hostmib_get(SNMP_session &session, unsigned long *argflags,
   36             unsigned long &operflags);
   37 void hpcfgsrc(SNMP_session &session,unsigned long *argflags,BerBase *cfgsrc);
   38 
   39 #endif