added the framework for supporting new link types in the file-get-links API

This commit is contained in:
root
2014-12-27 22:26:24 -06:00
parent 59e7fe33f9
commit 53e85e0de1
7 changed files with 88 additions and 12 deletions

View File

@@ -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;