edited api class and made it to work
This commit is contained in:
parent
de7c0067f3
commit
b467ab58fa
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
cmake-build-debug/
|
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
178
.idea/workspace.xml
generated
178
.idea/workspace.xml
generated
@ -11,7 +11,74 @@
|
|||||||
</configurations>
|
</configurations>
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="59c80f39-2468-4db0-9afd-14b8acdbffed" name="Default Changelist" comment="" />
|
<list default="true" id="59c80f39-2468-4db0-9afd-14b8acdbffed" name="Default Changelist" comment="">
|
||||||
|
<change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/API.cpp" beforeDir="false" afterPath="$PROJECT_DIR$/src/API.cpp" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/API.h" beforeDir="false" afterPath="$PROJECT_DIR$/src/API.h" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeCache.txt" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/3.14.2/CMakeCCompiler.cmake" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/3.14.2/CMakeCXXCompiler.cmake" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/3.14.2/CMakeDetermineCompilerABI_C.bin" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/3.14.2/CMakeDetermineCompilerABI_CXX.bin" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/3.14.2/CMakeSystem.cmake" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/3.14.2/CompilerIdC/CMakeCCompilerId.c" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/3.14.2/CompilerIdC/a.out" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/3.14.2/CompilerIdCXX/CMakeCXXCompilerId.cpp" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/3.14.2/CompilerIdCXX/a.out" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/CMakeDirectoryInformation.cmake" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/CMakeOutput.log" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/Makefile.cmake" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/Makefile2" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/TargetDirectories.txt" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/clion-environment.txt" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/cmake.check_cache" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/feature_tests.bin" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/feature_tests.c" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/feature_tests.cxx" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/iprefresher.dir/API.cpp.o" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/iprefresher.dir/CXX.includecache" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/iprefresher.dir/DependInfo.cmake" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/iprefresher.dir/build.make" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/iprefresher.dir/cmake_clean.cmake" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/iprefresher.dir/depend.internal" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/iprefresher.dir/depend.make" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/iprefresher.dir/flags.make" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/iprefresher.dir/link.txt" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/iprefresher.dir/main.cpp.o" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/iprefresher.dir/progress.make" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeFiles/progress.marks" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/CMakeLists.txt" beforeDir="false" afterPath="$PROJECT_DIR$/CMakeLists.txt" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/Hashmap.h" beforeDir="false" afterPath="$PROJECT_DIR$/src/Hashmap.h" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/Makefile" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeCache.txt" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeCache.txt" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/CMakeOutput.log" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/CMakeOutput.log" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/Makefile.cmake" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/Makefile.cmake" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/Makefile2" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/Makefile2" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/Progress/3" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/Progress/count.txt" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/TargetDirectories.txt" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/TargetDirectories.txt" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/clion-log.txt" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/clion-log.txt" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/API.cpp.o" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/CXX.includecache" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/CXX.includecache" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/DependInfo.cmake" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/DependInfo.cmake" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/build.make" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/build.make" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/cmake_clean.cmake" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/cmake_clean.cmake" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/depend.internal" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/depend.internal" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/depend.make" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/depend.make" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/flags.make" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/flags.make" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/link.txt" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/link.txt" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/iprefresher.dir/main.cpp.o" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/Makefile" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/Makefile" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/cmake_install.cmake" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/cmake_install.cmake" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake-build-debug/iprefresher.cbp" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/iprefresher.cbp" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/cmake_install.cmake" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/iprefresher" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/iprefresher.cbp" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/main.cpp" beforeDir="false" afterPath="$PROJECT_DIR$/src/main.cpp" afterDir="false" />
|
||||||
|
</list>
|
||||||
<ignored path="$PROJECT_DIR$/cmake-build-debug/" />
|
<ignored path="$PROJECT_DIR$/cmake-build-debug/" />
|
||||||
<ignored path="$PROJECT_DIR$/CMakeFiles/" />
|
<ignored path="$PROJECT_DIR$/CMakeFiles/" />
|
||||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||||
@ -29,14 +96,14 @@
|
|||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/CMakeLists.txt">
|
<entry file="file://$PROJECT_DIR$/CMakeLists.txt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="225">
|
<state relative-caret-position="135">
|
||||||
<caret line="15" selection-start-line="15" selection-end-line="15" />
|
<caret line="9" column="19" selection-start-line="9" selection-start-column="19" selection-end-line="9" selection-end-column="19" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/API.h">
|
<entry file="file://$PROJECT_DIR$/src/API.h">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="210">
|
<state relative-caret-position="210">
|
||||||
<caret line="14" column="124" selection-start-line="14" selection-start-column="124" selection-end-line="14" selection-end-column="124" />
|
<caret line="14" column="124" selection-start-line="14" selection-start-column="124" selection-end-line="14" selection-end-column="124" />
|
||||||
@ -47,28 +114,25 @@
|
|||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file pinned="false" current-in-tab="true">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/API.cpp">
|
<entry file="file://$PROJECT_DIR$/src/API.cpp">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="278">
|
<state relative-caret-position="101">
|
||||||
<caret line="51" column="20" lean-forward="true" selection-start-line="51" selection-start-column="20" selection-end-line="51" selection-end-column="20" />
|
<caret line="32" column="5" selection-start-line="32" selection-start-column="5" selection-end-line="32" selection-end-column="5" />
|
||||||
<folding>
|
|
||||||
<element signature="e#40#56#0" expanded="true" />
|
|
||||||
</folding>
|
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/Hashmap.h">
|
<entry file="file://$PROJECT_DIR$/src/Hashmap.h">
|
||||||
<provider selected="true" editor-type-id="text-editor" />
|
<provider selected="true" editor-type-id="text-editor" />
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/main.cpp">
|
<entry file="file://$PROJECT_DIR$/src/main.cpp">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="420">
|
<state relative-caret-position="165">
|
||||||
<caret line="29" column="19" lean-forward="true" selection-start-line="29" selection-start-column="19" selection-end-line="29" selection-end-column="19" />
|
<caret line="11" selection-start-line="11" selection-end-line="11" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#0#19#0" expanded="true" />
|
<element signature="e#0#19#0" expanded="true" />
|
||||||
</folding>
|
</folding>
|
||||||
@ -76,23 +140,38 @@
|
|||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
|
<file pinned="false" current-in-tab="true">
|
||||||
|
<entry file="file://$PROJECT_DIR$/.gitignore">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state>
|
||||||
|
<caret column="18" selection-start-column="18" selection-end-column="18" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
</leaf>
|
</leaf>
|
||||||
</component>
|
</component>
|
||||||
|
<component name="Git.Settings">
|
||||||
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||||
|
</component>
|
||||||
<component name="IdeDocumentHistory">
|
<component name="IdeDocumentHistory">
|
||||||
<option name="CHANGED_PATHS">
|
<option name="CHANGED_PATHS">
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/CMakeLists.txt" />
|
|
||||||
<option value="$PROJECT_DIR$/API.h" />
|
<option value="$PROJECT_DIR$/API.h" />
|
||||||
<option value="$PROJECT_DIR$/main.cpp" />
|
<option value="$PROJECT_DIR$/main.cpp" />
|
||||||
<option value="$PROJECT_DIR$/API.cpp" />
|
<option value="$PROJECT_DIR$/API.cpp" />
|
||||||
|
<option value="$PROJECT_DIR$/CMakeLists.txt" />
|
||||||
|
<option value="$PROJECT_DIR$/src/API.cpp" />
|
||||||
|
<option value="$PROJECT_DIR$/src/main.cpp" />
|
||||||
|
<option value="$PROJECT_DIR$/.gitignore" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectFrameBounds" extendedState="6">
|
<component name="ProjectFrameBounds" extendedState="6">
|
||||||
<option name="x" value="528" />
|
<option name="x" value="1020" />
|
||||||
<option name="y" value="311" />
|
<option name="y" value="236" />
|
||||||
<option name="width" value="1392" />
|
<option name="width" value="1914" />
|
||||||
<option name="height" value="995" />
|
<option name="height" value="1051" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectView">
|
<component name="ProjectView">
|
||||||
<navigator proportions="" version="1">
|
<navigator proportions="" version="1">
|
||||||
@ -104,7 +183,12 @@
|
|||||||
<expand>
|
<expand>
|
||||||
<path>
|
<path>
|
||||||
<item name="iprefresher" type="b2602c69:ProjectViewProjectNode" />
|
<item name="iprefresher" type="b2602c69:ProjectViewProjectNode" />
|
||||||
<item name="iprefresher" type="462c0819:PsiDirectoryNode" />
|
<item name="DynuIPRefresher" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="iprefresher" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="DynuIPRefresher" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
</path>
|
</path>
|
||||||
</expand>
|
</expand>
|
||||||
<select />
|
<select />
|
||||||
@ -114,12 +198,16 @@
|
|||||||
</panes>
|
</panes>
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">
|
<component name="PropertiesComponent">
|
||||||
|
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
||||||
<property name="WebServerToolWindowFactoryState" value="false" />
|
<property name="WebServerToolWindowFactoryState" value="false" />
|
||||||
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
||||||
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
||||||
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="RecentsManager">
|
<component name="RecentsManager">
|
||||||
|
<key name="MoveFile.RECENT_KEYS">
|
||||||
|
<recent name="$PROJECT_DIR$/src" />
|
||||||
|
</key>
|
||||||
<key name="CopyFile.RECENT_KEYS">
|
<key name="CopyFile.RECENT_KEYS">
|
||||||
<recent name="$PROJECT_DIR$" />
|
<recent name="$PROJECT_DIR$" />
|
||||||
</key>
|
</key>
|
||||||
@ -155,31 +243,35 @@
|
|||||||
<updated>1556620677257</updated>
|
<updated>1556620677257</updated>
|
||||||
<workItem from="1556620678990" duration="5234000" />
|
<workItem from="1556620678990" duration="5234000" />
|
||||||
<workItem from="1556646880233" duration="656000" />
|
<workItem from="1556646880233" duration="656000" />
|
||||||
|
<workItem from="1556710548728" duration="6200000" />
|
||||||
|
<workItem from="1557047487321" duration="761000" />
|
||||||
|
<workItem from="1557061811880" duration="1586000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TimeTrackingManager">
|
<component name="TimeTrackingManager">
|
||||||
<option name="totallyTimeSpent" value="5890000" />
|
<option name="totallyTimeSpent" value="14437000" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ToolWindowManager">
|
<component name="ToolWindowManager">
|
||||||
<frame x="-1" y="25" width="1922" height="1056" extended-state="6" />
|
<frame x="1919" y="0" width="1922" height="1081" extended-state="6" />
|
||||||
|
<editor active="true" />
|
||||||
<layout>
|
<layout>
|
||||||
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.2524013" />
|
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.26040554" />
|
||||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||||
<window_info id="Favorites" order="2" side_tool="true" />
|
<window_info id="Favorites" order="2" side_tool="true" />
|
||||||
<window_info anchor="bottom" id="Message" order="0" />
|
<window_info anchor="bottom" id="Message" order="0" />
|
||||||
<window_info anchor="bottom" id="Find" order="1" />
|
<window_info anchor="bottom" id="Find" order="1" />
|
||||||
<window_info anchor="bottom" id="Run" order="2" weight="0.32905984" />
|
<window_info anchor="bottom" id="Run" order="2" weight="0.31875" />
|
||||||
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
||||||
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
||||||
<window_info anchor="bottom" id="TODO" order="6" />
|
<window_info anchor="bottom" id="TODO" order="6" />
|
||||||
<window_info anchor="bottom" id="Database Changes" order="7" />
|
<window_info anchor="bottom" id="Database Changes" order="7" />
|
||||||
<window_info anchor="bottom" id="Messages" order="8" weight="0.32905984" />
|
<window_info anchor="bottom" id="Messages" order="8" visible="true" weight="0.32708332" />
|
||||||
<window_info anchor="bottom" id="Terminal" order="9" />
|
<window_info anchor="bottom" id="Terminal" order="9" />
|
||||||
<window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
|
<window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
|
||||||
<window_info anchor="bottom" id="Version Control" order="11" />
|
<window_info anchor="bottom" id="Version Control" order="11" />
|
||||||
<window_info anchor="bottom" id="CMake" order="12" weight="0.32905984" />
|
<window_info anchor="bottom" id="CMake" order="12" weight="0.32834226" />
|
||||||
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
||||||
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
||||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
||||||
@ -192,14 +284,16 @@
|
|||||||
<component name="editorHistoryManager">
|
<component name="editorHistoryManager">
|
||||||
<entry file="file://$PROJECT_DIR$/test.cpp" />
|
<entry file="file://$PROJECT_DIR$/test.cpp" />
|
||||||
<entry file="file://$PROJECT_DIR$/test.h" />
|
<entry file="file://$PROJECT_DIR$/test.h" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/cmake_install.cmake" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/iprefresher.cbp" />
|
||||||
<entry file="file://$PROJECT_DIR$/CMakeLists.txt">
|
<entry file="file://$PROJECT_DIR$/CMakeLists.txt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="225">
|
<state relative-caret-position="135">
|
||||||
<caret line="15" selection-start-line="15" selection-end-line="15" />
|
<caret line="9" column="19" selection-start-line="9" selection-start-column="19" selection-end-line="9" selection-end-column="19" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/API.h">
|
<entry file="file://$PROJECT_DIR$/src/API.h">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="210">
|
<state relative-caret-position="210">
|
||||||
<caret line="14" column="124" selection-start-line="14" selection-start-column="124" selection-end-line="14" selection-end-column="124" />
|
<caret line="14" column="124" selection-start-line="14" selection-start-column="124" selection-end-line="14" selection-end-column="124" />
|
||||||
@ -209,26 +303,30 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/Hashmap.h">
|
<entry file="file://$PROJECT_DIR$/src/Hashmap.h">
|
||||||
<provider selected="true" editor-type-id="text-editor" />
|
<provider selected="true" editor-type-id="text-editor" />
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/main.cpp">
|
<entry file="file://$PROJECT_DIR$/src/API.cpp">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="420">
|
<state relative-caret-position="101">
|
||||||
<caret line="29" column="19" lean-forward="true" selection-start-line="29" selection-start-column="19" selection-end-line="29" selection-end-column="19" />
|
<caret line="32" column="5" selection-start-line="32" selection-start-column="5" selection-end-line="32" selection-end-column="5" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/main.cpp">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="165">
|
||||||
|
<caret line="11" selection-start-line="11" selection-end-line="11" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#0#19#0" expanded="true" />
|
<element signature="e#0#19#0" expanded="true" />
|
||||||
</folding>
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/API.cpp">
|
<entry file="file://$PROJECT_DIR$/.gitignore">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="278">
|
<state>
|
||||||
<caret line="51" column="20" lean-forward="true" selection-start-line="51" selection-start-column="20" selection-end-line="51" selection-end-column="20" />
|
<caret column="18" selection-start-column="18" selection-end-column="18" />
|
||||||
<folding>
|
|
||||||
<element signature="e#40#56#0" expanded="true" />
|
|
||||||
</folding>
|
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
417
CMakeCache.txt
417
CMakeCache.txt
@ -1,417 +0,0 @@
|
|||||||
# This is the CMakeCache file.
|
|
||||||
# For build in directory: /home/lukas/CLionProjects/iprefresher
|
|
||||||
# It was generated by CMake: /home/lukas/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/191.6707.69/bin/cmake/linux/bin/cmake
|
|
||||||
# You can edit this file to change values found and used by cmake.
|
|
||||||
# If you do not want to change any of the values, simply exit the editor.
|
|
||||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
|
||||||
# The syntax for the file is as follows:
|
|
||||||
# KEY:TYPE=VALUE
|
|
||||||
# KEY is the name of a variable in the cache.
|
|
||||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
|
||||||
# VALUE is the current value for the KEY.
|
|
||||||
|
|
||||||
########################
|
|
||||||
# EXTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_AR:FILEPATH=/usr/bin/ar
|
|
||||||
|
|
||||||
//Choose the type of build, options are: None Debug Release RelWithDebInfo
|
|
||||||
// MinSizeRel ...
|
|
||||||
CMAKE_BUILD_TYPE:STRING=Debug
|
|
||||||
|
|
||||||
//Enable/Disable color output during build.
|
|
||||||
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
|
||||||
|
|
||||||
//CXX compiler
|
|
||||||
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
|
|
||||||
|
|
||||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-7
|
|
||||||
|
|
||||||
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7
|
|
||||||
|
|
||||||
//Flags used by the CXX compiler during all build types.
|
|
||||||
CMAKE_CXX_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the CXX compiler during DEBUG builds.
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
|
||||||
|
|
||||||
//Flags used by the CXX compiler during MINSIZEREL builds.
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the CXX compiler during RELEASE builds.
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//C compiler
|
|
||||||
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
|
|
||||||
|
|
||||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-7
|
|
||||||
|
|
||||||
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7
|
|
||||||
|
|
||||||
//Flags used by the C compiler during all build types.
|
|
||||||
CMAKE_C_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the C compiler during DEBUG builds.
|
|
||||||
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
|
||||||
|
|
||||||
//Flags used by the C compiler during MINSIZEREL builds.
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the C compiler during RELEASE builds.
|
|
||||||
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the linker during all build types.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during DEBUG builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during MINSIZEREL builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during RELEASE builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during RELWITHDEBINFO builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Enable/Disable output of compile commands during generation.
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
|
|
||||||
|
|
||||||
//Install path prefix, prepended onto install directories.
|
|
||||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules during
|
|
||||||
// all build types.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules during
|
|
||||||
// DEBUG builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules during
|
|
||||||
// MINSIZEREL builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules during
|
|
||||||
// RELEASE builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules during
|
|
||||||
// RELWITHDEBINFO builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_NM:FILEPATH=/usr/bin/nm
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_NAME:STATIC=iprefresher
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of shared libraries
|
|
||||||
// during all build types.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of shared libraries
|
|
||||||
// during DEBUG builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of shared libraries
|
|
||||||
// during MINSIZEREL builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of shared libraries
|
|
||||||
// during RELEASE builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of shared libraries
|
|
||||||
// during RELWITHDEBINFO builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when installing shared libraries,
|
|
||||||
// but are added when building.
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when using shared libraries.
|
|
||||||
CMAKE_SKIP_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries
|
|
||||||
// during all build types.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries
|
|
||||||
// during DEBUG builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries
|
|
||||||
// during MINSIZEREL builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries
|
|
||||||
// during RELEASE builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries
|
|
||||||
// during RELWITHDEBINFO builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
|
||||||
|
|
||||||
//If this value is on, makefiles will be generated without the
|
|
||||||
// .SILENT directive, and all commands will be echoed to the console
|
|
||||||
// during the make. This is useful for debugging only. With Visual
|
|
||||||
// Studio IDE projects all commands are done without /nologo.
|
|
||||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
|
||||||
|
|
||||||
//Path to a file.
|
|
||||||
CURL_INCLUDE_DIR:PATH=/usr/include/x86_64-linux-gnu
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
CURL_LIBRARY_DEBUG:FILEPATH=CURL_LIBRARY_DEBUG-NOTFOUND
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
CURL_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libcurl.so
|
|
||||||
|
|
||||||
//pkg-config executable
|
|
||||||
PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
iprefresher_BINARY_DIR:STATIC=/home/lukas/CLionProjects/iprefresher
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
iprefresher_SOURCE_DIR:STATIC=/home/lukas/CLionProjects/iprefresher
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
pkgcfg_lib_PC_CURL_curl:FILEPATH=/usr/lib/x86_64-linux-gnu/libcurl.so
|
|
||||||
|
|
||||||
|
|
||||||
########################
|
|
||||||
# INTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//ADVANCED property for variable: CMAKE_AR
|
|
||||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
|
||||||
//This is the directory where this CMakeCache.txt was created
|
|
||||||
CMAKE_CACHEFILE_DIR:INTERNAL=/home/lukas/CLionProjects/iprefresher
|
|
||||||
//Major version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
|
||||||
//Minor version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=14
|
|
||||||
//Patch version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
|
|
||||||
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
|
||||||
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
|
||||||
//Path to CMake executable.
|
|
||||||
CMAKE_COMMAND:INTERNAL=/home/lukas/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/191.6707.69/bin/cmake/linux/bin/cmake
|
|
||||||
//Path to cpack program executable.
|
|
||||||
CMAKE_CPACK_COMMAND:INTERNAL=/home/lukas/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/191.6707.69/bin/cmake/linux/bin/cpack
|
|
||||||
//Path to ctest program executable.
|
|
||||||
CMAKE_CTEST_COMMAND:INTERNAL=/home/lukas/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/191.6707.69/bin/cmake/linux/bin/ctest
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
|
||||||
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
|
|
||||||
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
|
|
||||||
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
|
||||||
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_COMPILER
|
|
||||||
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
|
|
||||||
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
|
|
||||||
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
|
||||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
|
||||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
|
||||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//Path to cache edit program executable.
|
|
||||||
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/cmake-gui
|
|
||||||
//Executable file format
|
|
||||||
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
|
||||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
|
||||||
//Name of external makefile project generator.
|
|
||||||
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
|
||||||
//Name of generator.
|
|
||||||
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
|
||||||
//Generator instance identifier.
|
|
||||||
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
|
||||||
//Name of generator platform.
|
|
||||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
|
||||||
//Name of generator toolset.
|
|
||||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
|
||||||
//Source directory with the top level CMakeLists.txt file for this
|
|
||||||
// project
|
|
||||||
CMAKE_HOME_DIRECTORY:INTERNAL=/home/lukas/CLionProjects/iprefresher
|
|
||||||
//Install .so files without execute permission.
|
|
||||||
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_LINKER
|
|
||||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
|
||||||
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_NM
|
|
||||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
|
||||||
//number of local generators
|
|
||||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
|
||||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
|
||||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
|
||||||
//Platform information initialized
|
|
||||||
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_RANLIB
|
|
||||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//Path to CMake installation.
|
|
||||||
CMAKE_ROOT:INTERNAL=/home/lukas/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/191.6707.69/bin/cmake/linux/share/cmake-3.14
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
|
||||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STRIP
|
|
||||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
|
||||||
//uname command
|
|
||||||
CMAKE_UNAME:INTERNAL=/bin/uname
|
|
||||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
|
||||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CURL_INCLUDE_DIR
|
|
||||||
CURL_INCLUDE_DIR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CURL_LIBRARY_DEBUG
|
|
||||||
CURL_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CURL_LIBRARY_RELEASE
|
|
||||||
CURL_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//Details about finding CURL
|
|
||||||
FIND_PACKAGE_MESSAGE_DETAILS_CURL:INTERNAL=[/usr/lib/x86_64-linux-gnu/libcurl.so][/usr/include/x86_64-linux-gnu][c ][v7.58.0()]
|
|
||||||
PC_CURL_CFLAGS:INTERNAL=-I/usr/include/x86_64-linux-gnu
|
|
||||||
PC_CURL_CFLAGS_I:INTERNAL=
|
|
||||||
PC_CURL_CFLAGS_OTHER:INTERNAL=
|
|
||||||
PC_CURL_FOUND:INTERNAL=1
|
|
||||||
PC_CURL_INCLUDEDIR:INTERNAL=/usr/include/x86_64-linux-gnu
|
|
||||||
PC_CURL_INCLUDE_DIRS:INTERNAL=/usr/include/x86_64-linux-gnu
|
|
||||||
PC_CURL_LDFLAGS:INTERNAL=-lcurl
|
|
||||||
PC_CURL_LDFLAGS_OTHER:INTERNAL=
|
|
||||||
PC_CURL_LIBDIR:INTERNAL=/usr/lib/x86_64-linux-gnu
|
|
||||||
PC_CURL_LIBRARIES:INTERNAL=curl
|
|
||||||
PC_CURL_LIBRARY_DIRS:INTERNAL=
|
|
||||||
PC_CURL_LIBS:INTERNAL=
|
|
||||||
PC_CURL_LIBS_L:INTERNAL=
|
|
||||||
PC_CURL_LIBS_OTHER:INTERNAL=
|
|
||||||
PC_CURL_LIBS_PATHS:INTERNAL=
|
|
||||||
PC_CURL_PREFIX:INTERNAL=/usr
|
|
||||||
PC_CURL_STATIC_CFLAGS:INTERNAL=-I/usr/include/x86_64-linux-gnu
|
|
||||||
PC_CURL_STATIC_CFLAGS_I:INTERNAL=
|
|
||||||
PC_CURL_STATIC_CFLAGS_OTHER:INTERNAL=
|
|
||||||
PC_CURL_STATIC_INCLUDE_DIRS:INTERNAL=/usr/include/x86_64-linux-gnu
|
|
||||||
PC_CURL_STATIC_LDFLAGS:INTERNAL=-L/usr/lib/x86_64-linux-gnu/mit-krb5;-lcurl;-lnghttp2;-lidn2;-lrtmp;-lpsl;-lssl;-lcrypto;-lssl;-lcrypto;-Wl,-Bsymbolic-functions;-Wl,-z,relro;-lgssapi_krb5;-lkrb5;-lk5crypto;-lcom_err;-llber;-lldap;-llber;-lz
|
|
||||||
PC_CURL_STATIC_LDFLAGS_OTHER:INTERNAL=-Wl,-Bsymbolic-functions;-Wl,-z,relro
|
|
||||||
PC_CURL_STATIC_LIBDIR:INTERNAL=
|
|
||||||
PC_CURL_STATIC_LIBRARIES:INTERNAL=curl;nghttp2;idn2;rtmp;psl;ssl;crypto;ssl;crypto;gssapi_krb5;krb5;k5crypto;com_err;lber;ldap;lber;z
|
|
||||||
PC_CURL_STATIC_LIBRARY_DIRS:INTERNAL=/usr/lib/x86_64-linux-gnu/mit-krb5
|
|
||||||
PC_CURL_STATIC_LIBS:INTERNAL=
|
|
||||||
PC_CURL_STATIC_LIBS_L:INTERNAL=
|
|
||||||
PC_CURL_STATIC_LIBS_OTHER:INTERNAL=
|
|
||||||
PC_CURL_STATIC_LIBS_PATHS:INTERNAL=
|
|
||||||
PC_CURL_VERSION:INTERNAL=7.58.0
|
|
||||||
PC_CURL_libcurl_INCLUDEDIR:INTERNAL=
|
|
||||||
PC_CURL_libcurl_LIBDIR:INTERNAL=
|
|
||||||
PC_CURL_libcurl_PREFIX:INTERNAL=
|
|
||||||
PC_CURL_libcurl_VERSION:INTERNAL=
|
|
||||||
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
|
|
||||||
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
|
|
||||||
__pkg_config_arguments_PC_CURL:INTERNAL=QUIET;libcurl
|
|
||||||
__pkg_config_checked_PC_CURL:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: pkgcfg_lib_PC_CURL_curl
|
|
||||||
pkgcfg_lib_PC_CURL_curl-ADVANCED:INTERNAL=1
|
|
||||||
prefix_result:INTERNAL=SSL;IPv6;UnixSockets;libz;AsynchDNS;IDN;GSS-API;PSL;SPNEGO;Kerberos;NTLM;NTLM_WB;TLS-SRP;HTTP2;HTTPS-proxy
|
|
||||||
|
|
@ -7,9 +7,10 @@ find_package(CURL REQUIRED)
|
|||||||
include_directories(${CURL_INCLUDE_DIR})
|
include_directories(${CURL_INCLUDE_DIR})
|
||||||
|
|
||||||
|
|
||||||
set(SOURCE main.cpp API.h API.cpp Hashmap.h)
|
set(SOURCE src/main.cpp src/API.h src/API.cpp src/Hashmap.h)
|
||||||
|
|
||||||
add_executable(iprefresher ${SOURCE})
|
add_executable(iprefresher ${SOURCE})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
target_link_libraries(iprefresher ${CURL_LIBRARIES})
|
target_link_libraries(iprefresher ${CURL_LIBRARIES})
|
||||||
|
208
Makefile
208
Makefile
@ -1,208 +0,0 @@
|
|||||||
# CMAKE generated file: DO NOT EDIT!
|
|
||||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.14
|
|
||||||
|
|
||||||
# Default target executed when no arguments are given to make.
|
|
||||||
default_target: all
|
|
||||||
|
|
||||||
.PHONY : default_target
|
|
||||||
|
|
||||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
|
||||||
.NOTPARALLEL:
|
|
||||||
|
|
||||||
|
|
||||||
#=============================================================================
|
|
||||||
# Special targets provided by cmake.
|
|
||||||
|
|
||||||
# Disable implicit rules so canonical targets will work.
|
|
||||||
.SUFFIXES:
|
|
||||||
|
|
||||||
|
|
||||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
|
||||||
SUFFIXES =
|
|
||||||
|
|
||||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
|
||||||
|
|
||||||
|
|
||||||
# Suppress display of executed commands.
|
|
||||||
$(VERBOSE).SILENT:
|
|
||||||
|
|
||||||
|
|
||||||
# A target that is always out of date.
|
|
||||||
cmake_force:
|
|
||||||
|
|
||||||
.PHONY : cmake_force
|
|
||||||
|
|
||||||
#=============================================================================
|
|
||||||
# Set environment variables for the build.
|
|
||||||
|
|
||||||
# The shell in which to execute make rules.
|
|
||||||
SHELL = /bin/sh
|
|
||||||
|
|
||||||
# The CMake executable.
|
|
||||||
CMAKE_COMMAND = /home/lukas/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/191.6707.69/bin/cmake/linux/bin/cmake
|
|
||||||
|
|
||||||
# The command to remove a file.
|
|
||||||
RM = /home/lukas/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/191.6707.69/bin/cmake/linux/bin/cmake -E remove -f
|
|
||||||
|
|
||||||
# Escaping for special characters.
|
|
||||||
EQUALS = =
|
|
||||||
|
|
||||||
# The top-level source directory on which CMake was run.
|
|
||||||
CMAKE_SOURCE_DIR = /home/lukas/CLionProjects/iprefresher
|
|
||||||
|
|
||||||
# The top-level build directory on which CMake was run.
|
|
||||||
CMAKE_BINARY_DIR = /home/lukas/CLionProjects/iprefresher
|
|
||||||
|
|
||||||
#=============================================================================
|
|
||||||
# Targets provided globally by CMake.
|
|
||||||
|
|
||||||
# Special rule for the target rebuild_cache
|
|
||||||
rebuild_cache:
|
|
||||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
|
||||||
/home/lukas/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/191.6707.69/bin/cmake/linux/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
|
||||||
.PHONY : rebuild_cache
|
|
||||||
|
|
||||||
# Special rule for the target rebuild_cache
|
|
||||||
rebuild_cache/fast: rebuild_cache
|
|
||||||
|
|
||||||
.PHONY : rebuild_cache/fast
|
|
||||||
|
|
||||||
# Special rule for the target edit_cache
|
|
||||||
edit_cache:
|
|
||||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
|
||||||
/home/lukas/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/191.6707.69/bin/cmake/linux/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
|
||||||
.PHONY : edit_cache
|
|
||||||
|
|
||||||
# Special rule for the target edit_cache
|
|
||||||
edit_cache/fast: edit_cache
|
|
||||||
|
|
||||||
.PHONY : edit_cache/fast
|
|
||||||
|
|
||||||
# The main all target
|
|
||||||
all: cmake_check_build_system
|
|
||||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/lukas/CLionProjects/iprefresher/CMakeFiles /home/lukas/CLionProjects/iprefresher/CMakeFiles/progress.marks
|
|
||||||
$(MAKE) -f CMakeFiles/Makefile2 all
|
|
||||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/lukas/CLionProjects/iprefresher/CMakeFiles 0
|
|
||||||
.PHONY : all
|
|
||||||
|
|
||||||
# The main clean target
|
|
||||||
clean:
|
|
||||||
$(MAKE) -f CMakeFiles/Makefile2 clean
|
|
||||||
.PHONY : clean
|
|
||||||
|
|
||||||
# The main clean target
|
|
||||||
clean/fast: clean
|
|
||||||
|
|
||||||
.PHONY : clean/fast
|
|
||||||
|
|
||||||
# Prepare targets for installation.
|
|
||||||
preinstall: all
|
|
||||||
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
|
||||||
.PHONY : preinstall
|
|
||||||
|
|
||||||
# Prepare targets for installation.
|
|
||||||
preinstall/fast:
|
|
||||||
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
|
||||||
.PHONY : preinstall/fast
|
|
||||||
|
|
||||||
# clear depends
|
|
||||||
depend:
|
|
||||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
|
||||||
.PHONY : depend
|
|
||||||
|
|
||||||
#=============================================================================
|
|
||||||
# Target rules for targets named iprefresher
|
|
||||||
|
|
||||||
# Build rule for target.
|
|
||||||
iprefresher: cmake_check_build_system
|
|
||||||
$(MAKE) -f CMakeFiles/Makefile2 iprefresher
|
|
||||||
.PHONY : iprefresher
|
|
||||||
|
|
||||||
# fast build rule for target.
|
|
||||||
iprefresher/fast:
|
|
||||||
$(MAKE) -f CMakeFiles/iprefresher.dir/build.make CMakeFiles/iprefresher.dir/build
|
|
||||||
.PHONY : iprefresher/fast
|
|
||||||
|
|
||||||
API.o: API.cpp.o
|
|
||||||
|
|
||||||
.PHONY : API.o
|
|
||||||
|
|
||||||
# target to build an object file
|
|
||||||
API.cpp.o:
|
|
||||||
$(MAKE) -f CMakeFiles/iprefresher.dir/build.make CMakeFiles/iprefresher.dir/API.cpp.o
|
|
||||||
.PHONY : API.cpp.o
|
|
||||||
|
|
||||||
API.i: API.cpp.i
|
|
||||||
|
|
||||||
.PHONY : API.i
|
|
||||||
|
|
||||||
# target to preprocess a source file
|
|
||||||
API.cpp.i:
|
|
||||||
$(MAKE) -f CMakeFiles/iprefresher.dir/build.make CMakeFiles/iprefresher.dir/API.cpp.i
|
|
||||||
.PHONY : API.cpp.i
|
|
||||||
|
|
||||||
API.s: API.cpp.s
|
|
||||||
|
|
||||||
.PHONY : API.s
|
|
||||||
|
|
||||||
# target to generate assembly for a file
|
|
||||||
API.cpp.s:
|
|
||||||
$(MAKE) -f CMakeFiles/iprefresher.dir/build.make CMakeFiles/iprefresher.dir/API.cpp.s
|
|
||||||
.PHONY : API.cpp.s
|
|
||||||
|
|
||||||
main.o: main.cpp.o
|
|
||||||
|
|
||||||
.PHONY : main.o
|
|
||||||
|
|
||||||
# target to build an object file
|
|
||||||
main.cpp.o:
|
|
||||||
$(MAKE) -f CMakeFiles/iprefresher.dir/build.make CMakeFiles/iprefresher.dir/main.cpp.o
|
|
||||||
.PHONY : main.cpp.o
|
|
||||||
|
|
||||||
main.i: main.cpp.i
|
|
||||||
|
|
||||||
.PHONY : main.i
|
|
||||||
|
|
||||||
# target to preprocess a source file
|
|
||||||
main.cpp.i:
|
|
||||||
$(MAKE) -f CMakeFiles/iprefresher.dir/build.make CMakeFiles/iprefresher.dir/main.cpp.i
|
|
||||||
.PHONY : main.cpp.i
|
|
||||||
|
|
||||||
main.s: main.cpp.s
|
|
||||||
|
|
||||||
.PHONY : main.s
|
|
||||||
|
|
||||||
# target to generate assembly for a file
|
|
||||||
main.cpp.s:
|
|
||||||
$(MAKE) -f CMakeFiles/iprefresher.dir/build.make CMakeFiles/iprefresher.dir/main.cpp.s
|
|
||||||
.PHONY : main.cpp.s
|
|
||||||
|
|
||||||
# Help Target
|
|
||||||
help:
|
|
||||||
@echo "The following are some of the valid targets for this Makefile:"
|
|
||||||
@echo "... all (the default if no target is provided)"
|
|
||||||
@echo "... clean"
|
|
||||||
@echo "... depend"
|
|
||||||
@echo "... rebuild_cache"
|
|
||||||
@echo "... iprefresher"
|
|
||||||
@echo "... edit_cache"
|
|
||||||
@echo "... API.o"
|
|
||||||
@echo "... API.i"
|
|
||||||
@echo "... API.s"
|
|
||||||
@echo "... main.o"
|
|
||||||
@echo "... main.i"
|
|
||||||
@echo "... main.s"
|
|
||||||
.PHONY : help
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#=============================================================================
|
|
||||||
# Special targets to cleanup operation of make.
|
|
||||||
|
|
||||||
# Special rule to run CMake to check the build system integrity.
|
|
||||||
# No rule that depends on this can have commands that come from listfiles
|
|
||||||
# because they might be regenerated.
|
|
||||||
cmake_check_build_system:
|
|
||||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
|
||||||
.PHONY : cmake_check_build_system
|
|
||||||
|
|
@ -1,49 +0,0 @@
|
|||||||
# Install script for directory: /home/lukas/CLionProjects/iprefresher
|
|
||||||
|
|
||||||
# Set the install prefix
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
|
||||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
|
||||||
endif()
|
|
||||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
|
||||||
|
|
||||||
# Set the install configuration name.
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
|
||||||
if(BUILD_TYPE)
|
|
||||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
|
||||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_CONFIG_NAME "Debug")
|
|
||||||
endif()
|
|
||||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Set the component getting installed.
|
|
||||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
|
||||||
if(COMPONENT)
|
|
||||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
|
||||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_COMPONENT)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Install shared libraries without execute permission?
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
|
||||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Is this installation the result of a crosscompile?
|
|
||||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
|
||||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_INSTALL_COMPONENT)
|
|
||||||
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
||||||
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
||||||
file(WRITE "/home/lukas/CLionProjects/iprefresher/${CMAKE_INSTALL_MANIFEST}"
|
|
||||||
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
BIN
iprefresher
BIN
iprefresher
Binary file not shown.
@ -1,85 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<CodeBlocks_project_file>
|
|
||||||
<FileVersion major="1" minor="6"/>
|
|
||||||
<Project>
|
|
||||||
<Option title="iprefresher"/>
|
|
||||||
<Option makefile_is_custom="1"/>
|
|
||||||
<Option compiler="gcc"/>
|
|
||||||
<Option virtualFolders="CMake Files\;"/>
|
|
||||||
<Build>
|
|
||||||
<Target title="all">
|
|
||||||
<Option working_dir="/home/lukas/CLionProjects/iprefresher"/>
|
|
||||||
<Option type="4"/>
|
|
||||||
<MakeCommands>
|
|
||||||
<Build command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 all"/>
|
|
||||||
<CompileFile command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 "$file""/>
|
|
||||||
<Clean command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 clean"/>
|
|
||||||
<DistClean command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 clean"/>
|
|
||||||
</MakeCommands>
|
|
||||||
</Target>
|
|
||||||
<Target title="rebuild_cache">
|
|
||||||
<Option working_dir="/home/lukas/CLionProjects/iprefresher"/>
|
|
||||||
<Option type="4"/>
|
|
||||||
<MakeCommands>
|
|
||||||
<Build command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 rebuild_cache"/>
|
|
||||||
<CompileFile command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 "$file""/>
|
|
||||||
<Clean command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 clean"/>
|
|
||||||
<DistClean command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 clean"/>
|
|
||||||
</MakeCommands>
|
|
||||||
</Target>
|
|
||||||
<Target title="iprefresher">
|
|
||||||
<Option output="/home/lukas/CLionProjects/iprefresher/iprefresher" prefix_auto="0" extension_auto="0"/>
|
|
||||||
<Option working_dir="/home/lukas/CLionProjects/iprefresher"/>
|
|
||||||
<Option object_output="./"/>
|
|
||||||
<Option type="1"/>
|
|
||||||
<Option compiler="gcc"/>
|
|
||||||
<Compiler/>
|
|
||||||
<MakeCommands>
|
|
||||||
<Build command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 iprefresher"/>
|
|
||||||
<CompileFile command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 "$file""/>
|
|
||||||
<Clean command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 clean"/>
|
|
||||||
<DistClean command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 clean"/>
|
|
||||||
</MakeCommands>
|
|
||||||
</Target>
|
|
||||||
<Target title="iprefresher/fast">
|
|
||||||
<Option output="/home/lukas/CLionProjects/iprefresher/iprefresher" prefix_auto="0" extension_auto="0"/>
|
|
||||||
<Option working_dir="/home/lukas/CLionProjects/iprefresher"/>
|
|
||||||
<Option object_output="./"/>
|
|
||||||
<Option type="1"/>
|
|
||||||
<Option compiler="gcc"/>
|
|
||||||
<Compiler/>
|
|
||||||
<MakeCommands>
|
|
||||||
<Build command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 iprefresher/fast"/>
|
|
||||||
<CompileFile command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 "$file""/>
|
|
||||||
<Clean command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 clean"/>
|
|
||||||
<DistClean command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 clean"/>
|
|
||||||
</MakeCommands>
|
|
||||||
</Target>
|
|
||||||
<Target title="edit_cache">
|
|
||||||
<Option working_dir="/home/lukas/CLionProjects/iprefresher"/>
|
|
||||||
<Option type="4"/>
|
|
||||||
<MakeCommands>
|
|
||||||
<Build command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 edit_cache"/>
|
|
||||||
<CompileFile command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 "$file""/>
|
|
||||||
<Clean command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 clean"/>
|
|
||||||
<DistClean command="/usr/bin/make -f "/home/lukas/CLionProjects/iprefresher/Makefile" VERBOSE=1 clean"/>
|
|
||||||
</MakeCommands>
|
|
||||||
</Target>
|
|
||||||
</Build>
|
|
||||||
<Unit filename="/home/lukas/CLionProjects/iprefresher/API.cpp">
|
|
||||||
<Option target="iprefresher"/>
|
|
||||||
</Unit>
|
|
||||||
<Unit filename="/home/lukas/CLionProjects/iprefresher/API.h">
|
|
||||||
<Option target="iprefresher"/>
|
|
||||||
</Unit>
|
|
||||||
<Unit filename="/home/lukas/CLionProjects/iprefresher/Hashmap.h">
|
|
||||||
<Option target="iprefresher"/>
|
|
||||||
</Unit>
|
|
||||||
<Unit filename="/home/lukas/CLionProjects/iprefresher/main.cpp">
|
|
||||||
<Option target="iprefresher"/>
|
|
||||||
</Unit>
|
|
||||||
<Unit filename="/home/lukas/CLionProjects/iprefresher/CMakeLists.txt">
|
|
||||||
<Option virtualFolder="CMake Files\"/>
|
|
||||||
</Unit>
|
|
||||||
</Project>
|
|
||||||
</CodeBlocks_project_file>
|
|
49
main.cpp
49
main.cpp
@ -1,49 +0,0 @@
|
|||||||
#include <iostream>
|
|
||||||
#include "API.h"
|
|
||||||
|
|
||||||
int main() {
|
|
||||||
std::cout << "Hello, World!" << std::endl;
|
|
||||||
|
|
||||||
API api;
|
|
||||||
std::string mystr = api.request("https://api.ipify.org");
|
|
||||||
std::cout << mystr <<std::endl;
|
|
||||||
|
|
||||||
//88vNpMfDhMM2YYDNfWR1DNYfRX9W6fYg
|
|
||||||
|
|
||||||
Hashmap<std::string, std::string> args;
|
|
||||||
|
|
||||||
args.add("name","luki.dynu.net");
|
|
||||||
args.add("group","office");
|
|
||||||
args.add("ipv4Address","42.42.42.42");
|
|
||||||
args.add("ipv6Address","42:42:42:42");
|
|
||||||
args.add("ttl","90");
|
|
||||||
args.add("ipv4","true");
|
|
||||||
args.add("ipv6","true");
|
|
||||||
args.add("ipv4WildcardAlias","true");
|
|
||||||
args.add("ipv6WildcardAlias","true");
|
|
||||||
args.add("allowZoneTrnsfer","false");
|
|
||||||
args.add("dnssec","false");
|
|
||||||
|
|
||||||
|
|
||||||
std::vector<std::string> headers;
|
|
||||||
headers.push_back("API-Key: 88vNpMfDhMM2YYDNfWR1DNYfRX9W6fYg");
|
|
||||||
std::string dynurepl = api.request("https://api.dynu.com/v2/dns/8506047",true, args,headers);
|
|
||||||
|
|
||||||
std::cout << "---" << dynurepl << "\n";
|
|
||||||
/*
|
|
||||||
"name": "somedomain.com",
|
|
||||||
"group": "office",
|
|
||||||
"ipv4Address": "1.2.3.4",
|
|
||||||
"ipv6Address": "1111:2222:3333::4444",
|
|
||||||
"ttl": 90,
|
|
||||||
"ipv4": true,
|
|
||||||
"ipv6": true,
|
|
||||||
"ipv4WildcardAlias": true,
|
|
||||||
"ipv6WildcardAlias": true,
|
|
||||||
"allowZoneTransfer": false,
|
|
||||||
"dnssec": false
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
#include "Hashmap.h"
|
#include "Hashmap.h"
|
||||||
|
|
||||||
@ -31,13 +32,9 @@ std::string API::request(std::string myurl, bool post, Hashmap<std::string,std::
|
|||||||
list = curl_slist_append(list, headers.at(j).c_str());
|
list = curl_slist_append(list, headers.at(j).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// list = curl_slist_append(list, "Accept:");
|
|
||||||
|
|
||||||
std::string readString;
|
std::string readString;
|
||||||
if (curl) {
|
if (curl) {
|
||||||
curl_easy_setopt(curl, CURLOPT_URL, myurl.c_str());
|
curl_easy_setopt(curl, CURLOPT_URL, myurl.c_str());
|
||||||
|
|
||||||
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, list);
|
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, list);
|
||||||
|
|
||||||
|
|
||||||
@ -47,16 +44,19 @@ std::string API::request(std::string myurl, bool post, Hashmap<std::string,std::
|
|||||||
|
|
||||||
if(post){
|
if(post){
|
||||||
std::cout << "add post data\n";
|
std::cout << "add post data\n";
|
||||||
std::string poststring;
|
std::stringstream poststring;
|
||||||
|
poststring << "{";
|
||||||
for (int i = 0; i < map.size(); i++) {
|
for (int i = 0; i < map.size(); i++) {
|
||||||
poststring+=map.getKey(i)+"="+map.getValue(i);
|
poststring << "\""+map.getKey(i) << "\": \""+map.getValue(i) << "\"";
|
||||||
if(i < map.size()-1){
|
if(i < map.size()-1){
|
||||||
poststring+="&";
|
poststring << ", ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::cout << "post string: " << poststring << "\n";
|
poststring << "}";
|
||||||
|
|
||||||
|
std::cout << "post string: " << poststring.str() << "\n";
|
||||||
curl_easy_setopt(curl, CURLOPT_POST, 1);
|
curl_easy_setopt(curl, CURLOPT_POST, 1);
|
||||||
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, poststring.c_str());
|
curl_easy_setopt(curl, CURLOPT_COPYPOSTFIELDS, poststring.str().c_str());
|
||||||
}else{
|
}else{
|
||||||
std::string getstring;
|
std::string getstring;
|
||||||
for(int i =0; i< map.size();i++){
|
for(int i =0; i< map.size();i++){
|
29
src/main.cpp
Normal file
29
src/main.cpp
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#include <iostream>
|
||||||
|
#include "API.h"
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
std::cout << "Hello, World!" << std::endl;
|
||||||
|
|
||||||
|
API api;
|
||||||
|
std::string ip = api.request("https://api.ipify.org");
|
||||||
|
std::cout << ip <<std::endl;
|
||||||
|
|
||||||
|
//api key: 88vNpMfDhMM2YYDNfWR1DNYfRX9W6fYg
|
||||||
|
|
||||||
|
Hashmap<std::string, std::string> args;
|
||||||
|
|
||||||
|
args.add("name","luki.dynu.net");
|
||||||
|
args.add("ipv4Address",ip);
|
||||||
|
|
||||||
|
std::vector<std::string> headers;
|
||||||
|
headers.push_back("accept: application/json");
|
||||||
|
headers.push_back("User-Agent: Mozilla/5.0 (compatible; Rigor/1.0.0; http://rigor.com)");
|
||||||
|
headers.push_back("API-Key: 88vNpMfDhMM2YYDNfWR1DNYfRX9W6fYg");
|
||||||
|
|
||||||
|
std::string dynurepl = api.request("https://api.dynu.com/v2/dns/8506047",true, args,headers);
|
||||||
|
|
||||||
|
std::cout << "---" << dynurepl << "\n";
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user