Giter Site home page Giter Site logo

scribe_c_glib's Introduction

scribe_c_glib

C client library for scribe with no other external dependence. It`s much easier to compile and install. All code files is generated by or copy from Thrift-0.9.0, I just put them together.

Requirement

  • glib-2.0
  • gobject-2.0

Install

$ ./configure --prefix=/path/to/install
$ make
$ make install

File list

$ tree
.
|-- include
|   `-- thrift
|       |-- bucket_store_mapping.h
|       |-- bucketupdater_types.h
|       |-- config.h
|       |-- facebook_service.h
|       |-- fb303_types.h
|       |-- processor
|       |   `-- thrift_processor.h
|       |-- protocol
|       |   |-- thrift_binary_protocol.h
|       |   |-- thrift_binary_protocol_factory.h
|       |   |-- thrift_protocol.h
|       |   `-- thrift_protocol_factory.h
|       |-- scribe.h
|       |-- scribe_types.h
|       |-- server
|       |   |-- thrift_server.h
|       |   `-- thrift_simple_server.h
|       |-- thrift.h
|       |-- thrift_application_exception.h
|       |-- thrift_struct.h
|       `-- transport
|           |-- thrift_buffered_transport.h
|           |-- thrift_framed_transport.h
|           |-- thrift_memory_buffer.h
|           |-- thrift_server_socket.h
|           |-- thrift_server_transport.h
|           |-- thrift_socket.h
|           |-- thrift_transport.h
|           `-- thrift_transport_factory.h
`-- lib
    |-- libscribe_c_glib.a
    |-- libscribe_c_glib.la
    |-- libscribe_c_glib.so -> libscribe_c_glib.so.0.0.0
    |-- libscribe_c_glib.so.0 -> libscribe_c_glib.so.0.0.0
    |-- libscribe_c_glib.so.0.0.0
    |-- libthrift_c_glib.a
    |-- libthrift_c_glib.la
    |-- libthrift_c_glib.so -> libthrift_c_glib.so.0.0.0
    |-- libthrift_c_glib.so.0 -> libthrift_c_glib.so.0.0.0
    |-- libthrift_c_glib.so.0.0.0
    `-- pkgconfig
        `-- scribe_c_glib.pc

8 directories, 36 files

Samples

There is a simple example in the "examples" directory, you can compile and use it just like this:

$ export PKG_CONFIG_PATH=/path/to/your/scribe_c_glib/lib/pkgconfig
$ gcc `pkg-config scribe_c_glib --cflags --libs` simple.c -o simple
$ ./simple

scribe_c_glib's People

Contributors

sandysong avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.