mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
added the framework for supporting new link types in the file-get-links API
This commit is contained in:
@@ -22,6 +22,14 @@
|
||||
|
||||
#include "../utils/http.h"
|
||||
|
||||
#define X_LINK_TYPE(a,b,c) c,
|
||||
const char *link_types[]={
|
||||
#include "link_type.def"
|
||||
NULL
|
||||
};
|
||||
#undef X_LINK_TYPE
|
||||
|
||||
|
||||
int mfapi_check_response(json_t * response, const char *apicall)
|
||||
{
|
||||
json_t *j_obj;
|
||||
|
||||
Reference in New Issue
Block a user