Skip to content

DevArenaCN/Dropbox-C

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.9%
  • Makefile 3.1%