aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linuxvdso/interface.h
blob: 2435ae1e7dd9fd420eb3460c3bf75ddc72eadc2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once 
 
#include <stddef.h> 
 
namespace NVdso { 
    struct TSymbol { 
        inline TSymbol() 
            : Name(0) 
            , Address(0) 
        { 
        } 
 
        inline TSymbol(const char* name, void* addr) 
            : Name(name) 
            , Address(addr) 
        { 
        } 
 
        const char* Name; 
        void* Address; 
    }; 
 
    size_t Enumerate(TSymbol* s, size_t len); 

    void* Function(const char* name, const char* version);
}