OpenCores
URL https://opencores.org/ocsvn/1g_ethernet_dpi/1g_ethernet_dpi/trunk

Subversion Repositories 1g_ethernet_dpi

[/] [1g_ethernet_dpi/] [trunk/] [sw/] [app/] [src/] [ethlc.hpp] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 kuzmi4
#ifndef _ETHLC_HPP_
2
#define _ETHLC_HPP_
3
 
4
#include <cstdio>
5
#include <iostream>
6
#include <sstream>
7
#include <string>
8
 
9
class ethlc {
10
public:
11
 
12
    ethlc(const std::string& addr); // contr+init
13
    virtual ~ethlc();
14
 
15
    bool ethlc_proc(void);
16
    void ethlc_gdet(std::string& pdetails);
17
 
18
private:
19
// PROC:
20
    ethlc(); // 'hide' std-constr
21
 
22
    bool exec_shell_cmd(const std::string&  command,
23
                        std::string&        output,
24
                        const std::string&  mode);
25
// DATA:
26
    std::string address;
27
    std::string details;
28
};
29
 
30
#endif // _ETHLC_HPP_

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.