RapidJSON Import / webfinger init
FossilOrigin-Name: 73722d6d805a5aa9e23edd816061370e206067ef3aa7cf6bd4090a097e0f7f44
This commit is contained in:
parent
d1aa37677b
commit
a26e6aae4e
3 changed files with 56 additions and 0 deletions
|
@ -20,6 +20,7 @@ add_executable(wormhole ${sources})
|
|||
# General includes
|
||||
include(CTest)
|
||||
|
||||
find_package(RapidJSON)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(SQLite3)
|
||||
|
@ -66,6 +67,7 @@ include_directories(wormhole
|
|||
${LIBMICROHTTPD_INCLUDE_DIRS}
|
||||
${YAML_CPP_INCLUDE_DIRS}
|
||||
${SQLite3_INCLUDE_DIRS}
|
||||
${RapidJSON_INCLUDE_DIRS}
|
||||
src/
|
||||
)
|
||||
|
||||
|
@ -78,4 +80,5 @@ target_link_libraries(wormhole ${CMAKE_DL_LIBS}
|
|||
${LIBMICROHTTPD_LIBRARIES}
|
||||
${YAML_CPP_LIBRARIES}
|
||||
${SQLite3_LIBRARIES}
|
||||
${RapidJSON_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT})
|
||||
|
|
26
src/protocol/webfinger/webfinger.cpp
Normal file
26
src/protocol/webfinger/webfinger.cpp
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* Wormhole - Federated social network
|
||||
* Copyright (C) 2022 Nekobit
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "webfinger.h"
|
||||
|
||||
using namespace Protocol;
|
||||
|
||||
void init_webfinger()
|
||||
{
|
||||
|
||||
}
|
27
src/protocol/webfinger/webfinger.h
Normal file
27
src/protocol/webfinger/webfinger.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Wormhole - Federated social network
|
||||
* Copyright (C) 2022 Nekobit
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Protocol
|
||||
{
|
||||
namespace Webfinger
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue