Source: ../../mibs/xorp_if_mib_module.hh


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top
// -*- c-basic-offset: 4; tab-width: 8; indent-tabs-mode: t -*-

// Copyright (c) 2001-2009 XORP, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License, Version 2, June
// 1991 as published by the Free Software Foundation. Redistribution
// and/or modification of this program under the terms of any other
// version of the GNU General Public License is not permitted.
// 
// This program 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. For more details,
// see the GNU General Public License, Version 2, a copy of which can be
// found in the XORP LICENSE.gpl file.
// 
// XORP Inc, 2953 Bunker Hill Lane, Suite 204, Santa Clara, CA 95054, USA;
// http://xorp.net

// $XORP: xorp/mibs/xorp_if_mib_module.hh,v 1.12 2009/01/05 18:31:00 jtc Exp $

/*
 * Note: this file originally auto-generated by mib2c using
 *        : mib2c.int_watch.conf,v 5.0 2002/04/20 07:30:13 hardaker Exp $
 */
#ifndef __MIBS_XORP_IF_MIB_MODULE_HH__
#define __MIBS_XORP_IF_MIB_MODULE_HH__

#include <queue>
#include "libxorp/xorp.h"
#include "libxorp/xlog.h"
#include "libxipc/xrl_std_router.hh"
#include "libxipc/xrl_args.hh"
#include "xrl/interfaces/xorp_if_mib_xif.hh"
#include "xorp_if_mib_xrl_target.hh"


/* dlopen functions */
extern "C" {
void   init_xorp_if_mib_module(void);
void deinit_xorp_if_mib_module(void);
}



/**
 * @short Special MIB module that allows XORP and Net-SNMP to communicate 
 *
 */

class XorpIfMib {
public:    
    static XorpIfMib& the_instance();
    static const char * name() { return  XORP_MODULE_NAME; };

    ~XorpIfMib();

private:
    XorpIfMib();
    XrlStdRouter _xrl_router;
    XrlXorpIfMibTarget _xrl_target;

    static XorpIfMib _xorp_if_mib;
};

#endif // __MIBS_XORP_IF_MIB_MODULE_HH__

Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:06 2009, using kdoc 2.0a54+XORP.