Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Bindings checklist #4

Open
13 of 17 tasks
bryanchriswhite opened this issue Aug 31, 2017 · 0 comments
Open
13 of 17 tasks

Bindings checklist #4

bryanchriswhite opened this issue Aug 31, 2017 · 0 comments
Labels

Comments

@bryanchriswhite
Copy link

bryanchriswhite commented Aug 31, 2017

(checklist copied from node-libstorj issue #15)

These are functions in libstorj/src/storj.h to be bound:

  • int storj_mnemonic_generate(int strength, char **buffer)
  • bool storj_mnemonic_check(const char *mnemonic)
  • int storj_bridge_get_info(storj_env_t *env, void *handle, uv_after_work_cb cb)
  • int storj_bridge_get_buckets(storj_env_t *env, void *handle, uv_after_work_cb cb)
  • int storj_bridge_create_bucket(storj_env_t *env, const char *name, void *handle, uv_after_work_cb cb)
  • int storj_bridge_delete_bucket(storj_env_t *env, const char *id, void *handle, uv_after_work_cb cb)
  • int storj_bridge_list_files(storj_env_t *env, const char *id, void *handle, uv_after_work_cb cb)
  • int storj_bridge_delete_file(storj_env_t *env, const char *bucket_id, const char *file_id, void *handle, uv_after_work_cb cb)
  • int storj_bridge_store_file_cancel(storj_upload_state_t *state)
  • int storj_bridge_store_file(storj_env_t *env, storj_upload_state_t *state, storj_upload_opts_t *opts, void *handle, storj_progress_cb progress_cb, storj_finished_upload_cb finished_cb)
  • int storj_bridge_resolve_file_cancel(storj_download_state_t *state)
  • int storj_bridge_resolve_file(storj_env_t *env, storj_download_state_t *state, const char *bucket_id, const char *file_id, FILE *destination, void *handle, storj_progress_cb progress_cb, storj_finished_download_cb finished_cb)

And additional:

  • int storj_bridge_register(storj_env_t *env, const char *email, const char *password, void *handle, uv_after_work_cb cb)
  • int storj_bridge_get_bucket(storj_env_t *env, const char *id, void *handle, uv_after_work_cb cb)
  • uint64_t storj_util_timestamp()
  • int storj_bridge_get_file_info(storj_env_t *env, const char *bucket_id, const char *file_id, void *handle, uv_after_work_cb cb)
  • int storj_bridge_list_mirrors(storj_env_t *env, const char *bucket_id, const char *file_id, void *handle, uv_after_work_cb cb)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant