Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dropbox-C

Introdution

This repository contains a C language library, under MIT License, that provides access to the Dropbox Core API.

Requirements

Features and examples

Almost all Dropbox Core API methods are available with their arguments. Their JSON answers are translated into C structures.

An example is provided here. But to briefly illustrate its usage, here is what a call to the file_put method looks like:

  FILE *file = fopen("/tmp/hello.txt", "r"); 
  drbPutFile(cli, NULL,
             DRBOPT_ROOT, DRBVAL_ROOT_AUTO,
             DRBOPT_PATH, "/hello.txt",
             DRBOPT_IO_DATA, file,
             DRBOPT_IO_FUNC, fread,
             DRBOPT_END);
  fclose(file);

Known Issues

This library is in BETA and still have some issues in multi-threaded programs.

About

Dropbox library for C Language

Resources

Stars

28 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages