tailscale / libtailscale

Tailscale C library

Repository from Github https://github.comtailscale/libtailscaleRepository from Github https://github.comtailscale/libtailscale

libtailscale

libtailscale is a C library that embeds Tailscale into a process.

Use this library to compile Tailscale into your program and get an IP address on a tailnet, entirely from userspace.

Building

With the latest version of Go, run:

go build -buildmode=c-archive

or

make archive

This will produce a libtailscale.a file. Link it into your binary, and use the tailscale.h header to reference it.

It is also possible to build a shared library using

go build -buildmode=c-shared

or

make shared

Bugs

Please file any issues about this code or the hosted service on the issue tracker.

License

BSD 3-Clause for this repository, see LICENSE.

About

Tailscale C library

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Swift 50.9%Language:Go 15.0%Language:Ruby 9.1%Language:C 8.8%Language:Python 4.9%Language:Objective-C 4.7%Language:Makefile 4.0%Language:C++ 1.3%Language:Shell 0.6%Language:Nix 0.4%Language:CMake 0.3%