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

Subversion Repositories 1g_ethernet_dpi

[/] [1g_ethernet_dpi/] [tags/] [v0.0/] [sw/] [app/] [src/] [ethlc.hpp] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 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
    bool ethlc_open(const std::string& paddress);
12
    bool ethlc_proc(void);
13
    bool ethlc_close(void);
14
    void ethlc_gdet(std::string& pdetails);
15
 
16
private:
17
// PROC:
18
    bool exec_shell_cmd(const std::string&  command,
19
                        std::string&        output,
20
                        const std::string&  mode);
21
// DATA:
22
    std::string address;
23
    std::string details;
24
};
25
 
26
#endif // _ETHLC_HPP_

powered by: WebSVN 2.1.0

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