1 /* 2 * SessionConnectionsIndexer.hpp 3 * 4 * Copyright (C) 2021 by RStudio, PBC 5 * 6 * Unless you have received this program directly from RStudio pursuant 7 * to the terms of a commercial license agreement with RStudio, then 8 * this program is licensed to you under the terms of version 3 of the 9 * GNU Affero General Public License. This program is distributed WITHOUT 10 * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, 11 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the 12 * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details. 13 * 14 */ 15 16 #ifndef SESSION_CONNECTIONS_INDEXER_HPP 17 #define SESSION_CONNECTIONS_INDEXER_HPP 18 19 #include <shared_core/json/Json.hpp> 20 21 namespace rstudio { 22 namespace session { 23 namespace modules { 24 namespace connections { 25 26 core::json::Value connectionsRegistryAsJson(); 27 void registerConnectionsWorker(); 28 void registerConnectionsRegistryEntry(std::string packageName, std::string extensionPath); 29 30 } // namespace connections 31 } // namespace modules 32 } // namespace session 33 } // namespace rstudio 34 35 #endif // SESSION_CONNECTIONS_INDEXER_HPP 36