2023-11-27 19:50:27 +03:00
|
|
|
//
|
|
|
|
// Created by maxim on 27.11.23.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef YADISK_YADISK_SHARED_H
|
|
|
|
#define YADISK_YADISK_SHARED_H
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <curl/curl.h>
|
|
|
|
#include <json.h>
|
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
YADISK_OK = 0,
|
|
|
|
YADISK_FAILED_PARSE_JSON = 1
|
|
|
|
} yadisk_code;
|
|
|
|
|
2023-11-28 22:13:58 +03:00
|
|
|
typedef struct {
|
2023-11-27 19:50:27 +03:00
|
|
|
char* token;
|
|
|
|
} yadisk_api_client;
|
|
|
|
|
|
|
|
#endif //YADISK_YADISK_SHARED_H
|