-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
1,287 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
######################################################################## | ||
# | ||
# This file is part of Chiton. | ||
# | ||
# Chiton is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# Chiton 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 General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
# | ||
# Copyright 2020 Ed Martin <[email protected]> | ||
# | ||
######################################################################## | ||
|
||
ACLOCAL_AMFLAGS = -I m4 | ||
AM_CXXFLAGS = -std=gnu++11 -Wall | ||
PRGM = chiton | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,26 @@ | ||
#!/bin/bash | ||
|
||
########################################################################## | ||
# | ||
# This file is part of Chiton. | ||
# | ||
# Chiton is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# Chiton 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 General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
# | ||
# Copyright 2020 Ed Martin <[email protected]> | ||
# | ||
########################################################################### | ||
|
||
libtoolize | ||
aclocal | ||
autoconf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
/************************************************************************** | ||
* | ||
* This file is part of Chiton. | ||
* | ||
* Chiton is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* Chiton 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 General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Copyright 2020 Ed Martin <[email protected]> | ||
* | ||
************************************************************************** | ||
*/ | ||
|
||
#include "camera.hpp" | ||
#include "util.hpp" | ||
#include "stream_writer.hpp" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
#ifndef __CAMERA_HPP__ | ||
#define __CAMERA_HPP__ | ||
/************************************************************************** | ||
* | ||
* This file is part of Chiton. | ||
* | ||
* Chiton is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* Chiton 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 General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Copyright 2020 Ed Martin <[email protected]> | ||
* | ||
************************************************************************** | ||
*/ | ||
|
||
#include "database.hpp" | ||
#include "chiton_config.hpp" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
#ifndef __CHITON_CONFIG_HPP__ | ||
#define __CHITON_CONFIG_HPP__ | ||
/************************************************************************** | ||
* | ||
* This file is part of Chiton. | ||
* | ||
* Chiton is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* Chiton 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 General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Copyright 2020 Ed Martin <[email protected]> | ||
* | ||
************************************************************************** | ||
*/ | ||
#include <string> | ||
#include <map> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
/************************************************************************** | ||
* | ||
* This file is part of Chiton. | ||
* | ||
* Chiton is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* Chiton 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 General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Copyright 2020 Ed Martin <[email protected]> | ||
* | ||
************************************************************************** | ||
*/ | ||
#include "chiton_ffmpeg.hpp" | ||
|
||
void load_ffmpeg(void){ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
#ifndef __CHITON_FFMPEG_HPP__ | ||
#define __CHITON_FFMPEG_HPP__ | ||
/************************************************************************** | ||
* | ||
* This file is part of Chiton. | ||
* | ||
* Chiton is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* Chiton 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 General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Copyright 2020 Ed Martin <[email protected]> | ||
* | ||
************************************************************************** | ||
*/ | ||
|
||
extern "C" { | ||
#include <libavcodec/avcodec.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
/************************************************************************** | ||
* | ||
* This file is part of Chiton. | ||
* | ||
* Chiton is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* Chiton 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 General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Copyright 2020 Ed Martin <[email protected]> | ||
* | ||
************************************************************************** | ||
*/ | ||
#include "chiton_config.hpp" | ||
#include "util.hpp" | ||
#include <fstream> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
####################################################################### | ||
# | ||
# This file is part of Chiton. | ||
# | ||
# Chiton is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# Chiton 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 General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
# | ||
# Copyright 2020 Ed Martin <[email protected]> | ||
# | ||
######################################################################## | ||
|
||
|
||
|
||
# database Settings | ||
db-host = localhost | ||
db-user = chiton | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
/************************************************************************** | ||
* | ||
* This file is part of Chiton. | ||
* | ||
* Chiton is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* Chiton 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 General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Copyright 2020 Ed Martin <[email protected]> | ||
* | ||
************************************************************************** | ||
*/ | ||
#include "config_parser.hpp" | ||
#include "util.hpp" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
#ifndef __CONFIG_PARSER_HPP__ | ||
#define __CONFIG_PARSER_HPP__ | ||
/************************************************************************** | ||
* | ||
* This file is part of Chiton. | ||
* | ||
* Chiton is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* Chiton 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 General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Copyright 2020 Ed Martin <[email protected]> | ||
* | ||
************************************************************************** | ||
*/ | ||
#include "chiton_config.hpp" | ||
#include <fstream> | ||
#include <sstream> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
########################################################################## | ||
# | ||
# This file is part of Chiton. | ||
# | ||
# Chiton is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# Chiton 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 General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
# | ||
# Copyright 2020 Ed Martin <[email protected]> | ||
# | ||
########################################################################## | ||
|
||
define([BUILDVER], [git]) | ||
AC_INIT([Chiton Security], BUILDVER, [[email protected]], [chiton], [http://edman007.com/]) | ||
AC_CONFIG_SRCDIR([main.cpp]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
/************************************************************************** | ||
* | ||
* This file is part of Chiton. | ||
* | ||
* Chiton is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* Chiton 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 General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Copyright 2020 Ed Martin <[email protected]> | ||
* | ||
************************************************************************** | ||
*/ | ||
#include "database.hpp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
#ifndef __DATABASE_HPP__ | ||
#define __DATABASE_HPP__ | ||
/************************************************************************** | ||
* | ||
* This file is part of Chiton. | ||
* | ||
* Chiton is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* Chiton 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 General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Copyright 2020 Ed Martin <[email protected]> | ||
* | ||
************************************************************************** | ||
*/ | ||
#include <string> | ||
|
||
#include "database_result.hpp" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
#ifndef __DATABASE_RESULT_HPP__ | ||
#define __DATABASE_RESULT_HPP__ | ||
/************************************************************************** | ||
* | ||
* This file is part of Chiton. | ||
* | ||
* Chiton is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* Chiton 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 General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Chiton. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Copyright 2020 Ed Martin <[email protected]> | ||
* | ||
************************************************************************** | ||
*/ | ||
#include <map> | ||
#include <string> | ||
|
||
|
Oops, something went wrong.