aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linuxvdso/interface.h
blob: 97d7f113c11276988976594875e32775380ac6da (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);
}