/grpc-c

C implementation of gRPC layered on top of core library

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

GRPC-C

C implementation of gRPC layered of top of core libgrpc.

Prerequisites

Make sure you have the following install in order to install dependencies

autoconf automake libtool curl make g++ unzip

Build

autoreconf --install
git submodule update --init
./builddeps.sh
mkdir build && cd build
../configure
make
sudo make install

If you want to install dependencies in a different directory other than /usr/local/, use ./buildgen.sh

Examples

cd build/examples
make gencode
make

This should build foo_client and foo_server. To run example code,

sudo ./foo_server test
sudo ./foo_client test

Status

Pre-alpha. Under active development. APIs may change.

Dependencies

  • gRPC v1.3.0
  • protobuf 3.0
  • protobuf-c 1.2.1