Browse Source

Updated name in copyright notices.

Added files missing in previous commit: HTTP.h, HTTP_Server.h
release/0.19
JustinAJ 9 years ago
parent
commit
6f708bd73e
  1. 4
      Jupiter/ArrayList.h
  2. 4
      Jupiter/Base64.cpp
  3. 4
      Jupiter/Base64.h
  4. 4
      Jupiter/Base64C.c
  5. 4
      Jupiter/CString.h
  6. 4
      Jupiter/CString_Imp.h
  7. 4
      Jupiter/Command.cpp
  8. 4
      Jupiter/Command.h
  9. 4
      Jupiter/DLList.h
  10. 4
      Jupiter/DataBuffer.cpp
  11. 4
      Jupiter/DataBuffer.h
  12. 4
      Jupiter/DataBuffer_Imp.h
  13. 4
      Jupiter/Database.cpp
  14. 4
      Jupiter/Database.h
  15. 4
      Jupiter/File.cpp
  16. 4
      Jupiter/File.h
  17. 4
      Jupiter/Functions.c
  18. 4
      Jupiter/Functions.h
  19. 176
      Jupiter/HTTP.h
  20. 4
      Jupiter/HTTP_Server.cpp
  21. 114
      Jupiter/HTTP_Server.h
  22. 4
      Jupiter/INIFile.cpp
  23. 4
      Jupiter/INIFile.h
  24. 4
      Jupiter/IRC.cpp
  25. 4
      Jupiter/IRC.h
  26. 4
      Jupiter/IRC_Client.cpp
  27. 4
      Jupiter/IRC_Client.h
  28. 4
      Jupiter/IRC_Numerics.h
  29. 4
      Jupiter/IRC_Server.cpp
  30. 4
      Jupiter/IRC_Server.h
  31. 4
      Jupiter/InvalidIndex.h
  32. 6
      Jupiter/Jupiter.cpp
  33. 4
      Jupiter/Jupiter.h
  34. BIN
      Jupiter/Jupiter.rc
  35. 3
      Jupiter/Jupiter.vcxproj
  36. 15
      Jupiter/Jupiter.vcxproj.filters
  37. 4
      Jupiter/List.h
  38. 4
      Jupiter/Plugin.cpp
  39. 4
      Jupiter/Plugin.h
  40. 4
      Jupiter/Queue.cpp
  41. 4
      Jupiter/Queue.h
  42. 4
      Jupiter/Readable_String.h
  43. 4
      Jupiter/Readable_String_Imp.h
  44. 4
      Jupiter/Reference_String.h
  45. 4
      Jupiter/Reference_String_Imp.h
  46. 4
      Jupiter/Rehash.cpp
  47. 4
      Jupiter/Rehash.h
  48. 4
      Jupiter/SLList.h
  49. 4
      Jupiter/SecureSocket.cpp
  50. 4
      Jupiter/SecureSocket.h
  51. 4
      Jupiter/Shift_String.h
  52. 4
      Jupiter/Shift_String_Imp.h
  53. 4
      Jupiter/Socket.cpp
  54. 4
      Jupiter/Socket.h
  55. 4
      Jupiter/String.h
  56. 4
      Jupiter/String_Imp.h
  57. 4
      Jupiter/String_Type.h
  58. 4
      Jupiter/String_Type_Imp.h
  59. 4
      Jupiter/TCPSocket.cpp
  60. 4
      Jupiter/TCPSocket.h
  61. 4
      Jupiter/Thinker.h
  62. 4
      Jupiter/Timer.cpp
  63. 4
      Jupiter/Timer.h
  64. 4
      Jupiter/UDPSocket.cpp
  65. 4
      Jupiter/UDPSocket.h
  66. BIN
      Release/Jupiter.lib

4
Jupiter/ArrayList.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _ARRAYLIST_H_HEADER

4
Jupiter/Base64.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include "Base64.h"

4
Jupiter/Base64.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _BASE64_H_HEADER

4
Jupiter/Base64C.c

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include "Base64.h"

4
Jupiter/CString.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _CSTRING_H_HEADER

4
Jupiter/CString_Imp.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _CSTRING_IMP_H_HEADER

4
Jupiter/Command.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include <cstring>

4
Jupiter/Command.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _COMMAND_H_HEADER

4
Jupiter/DLList.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _DLLIST_H_HEADER

4
Jupiter/DataBuffer.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2015 Justin James.
* Copyright (C) 2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include <cstdlib>

4
Jupiter/DataBuffer.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2015 Justin James.
* Copyright (C) 2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _DATABUFFER_H_HEADER

4
Jupiter/DataBuffer_Imp.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2015 Justin James.
* Copyright (C) 2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _DATABUFFER_IMP_H_HEADER

4
Jupiter/Database.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2015 Justin James.
* Copyright (C) 2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include "Database.h"

4
Jupiter/Database.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2015 Justin James.
* Copyright (C) 2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _DATABASE_H_HEADER

4
Jupiter/File.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include <sys/stat.h>

4
Jupiter/File.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _FILE_H_HEADER

4
Jupiter/Functions.c

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include <stdlib.h> // malloc

4
Jupiter/Functions.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _FUNCTIONS_H_HEADER

176
Jupiter/HTTP.h

@ -0,0 +1,176 @@
/**
* Copyright (C) 2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _HTTP_H_HEADER
#define _HTTP_H_HEADER
/**
* @file HTTP.h
* @brief Defines constants related to HTTP
*/
#include "Reference_String.h"
namespace Jupiter
{
namespace HTTP
{
/**
* @brief HTTP status codes
*/
namespace Status
{
/** Informational (1xx) */
static const int CONTINUE = 100;
static const int SWITCHING_PROTOCOLS = 101;
static const int PROCESSING = 102; // RFC 2518
/** Success (2xx) */
static const int OK = 200;
static const int CREATED = 201;
static const int ACCEPTED = 202;
static const int NONAUTH_INFO = 203; // HTTP/1.1
static const int NO_CONTENT = 204;
static const int RESET_CONTENT = 205;
static const int PARTIAL_CONTENT = 206; // RFC 7233
static const int MULTI_STATUS = 207; // RFC 4918
static const int ALREADY_REPORTED = 208; // RFC 5842
static const int IM_USED = 226; // RFC 3229
/** Redirection (3xx) */
static const int MULTIPLE_CHOICES = 300;
static const int MOVED_PERMANENTLY = 301;
static const int FOUND = 302;
static const int SEE_OTHER = 303; // HTTP/1.1
static const int NOT_MODIFIED = 304; // RFC 7232
static const int USE_PROXY = 305; // HTTP/1.1
static const int SWITCH_PROXY = 306; // No longer used
static const int TEMPORARY_REDIRECT = 307; // HTTP/1.1
static const int PERMANENT_REDIRECT = 308; // RFC 7538
static const int RESUME_INCOMPLETE = 308; // Google
/** Client Error (4xx) */
static const int BAD_REQUEST = 400;
static const int UNAUTHORIZED = 401; // RFC 7235
static const int PAYMENT_REQUIRED = 402;
static const int FORBIDDEN = 403;
static const int NOT_FOUND = 404;
static const int METHOD_NOT_ALLOWED = 405;
static const int NOT_ACCEPTABLE = 406;
static const int PROXY_AUTHENTICATION_REQUIRED = 407; // RFC 7235
static const int REQUEST_TIMEOUT = 408;
static const int CONFLICT = 409;
static const int GONE = 410;
static const int LENGTH_REQUIRED = 411;
static const int PRECONDITION_FAILED = 412; // RFC 7232
static const int PAYLOAD_TOO_LARGE = 413; // RFC 7231
static const int REQUEST_URI_TOO_LONG = 414;
static const int UNSUPPORTED_MEDIA_TYPE = 415;
static const int REQUESTED_RANGE_NOT_SATISFIABLE = 416; // RFC 7233
static const int EXPECTATION_FAILED = 417;
static const int IM_A_TEAPOT = 418; // RFC 2324
static const int AUTHENTICATION_TIMEOUT = 419; // Non-RFC
static const int METHOD_FAILURE = 420; // Spring Framework
static const int ENHANCE_YOUR_CALM = 420; // Twitter
static const int MISDIRECTED_REQUEST = 421; // RFC 7540
static const int UNPROCESSABLE_ENTITY = 422; // RFC 4918
static const int LOCKED = 423; // RFC 4918
static const int FAILED_DEPENDENCY = 424; // RFC 4918
static const int UPGRADE_REQUIRED = 426;
static const int PRECONDITION_REQUIRED = 428; // RFC 6585
static const int TOO_MANY_REQUESTS = 429; // RFC 6585
static const int REQUEST_HEADER_FIELDS_TOO_LARGE = 431; // RFC 6585
static const int LOGIN_TIMEOUT = 440; // Microsoft
static const int NO_RESPONSE = 444; // Nginx
static const int RETRY_WITH = 449; // Microsoft
static const int BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS = 450; // Microsoft
static const int UNAVAILABLE_FOR_LEGAL_REASONS = 451; // "A New HTTP Status Code for Legally-restricted Resources"
static const int REDIRECT = 451; // Microsoft
static const int REQUEST_HEADER_TOO_LARGE = 494; // Nginx
static const int CERT_ERROR = 495; // Nginx
static const int NO_CERT = 496; // Nginx
static const int HTTP_TO_HTTPS = 497; // Nginx
static const int TOKEN_INVALID = 498; // Esri
static const int CLIENT_CLOSED_REQUEST = 499; // Nginx
static const int TOKEN_REQUIRED = 499; // Esri
/** Server Error (5xx) */
static const int INTERNAL_SERVER_ERROR = 500;
static const int NOT_IMPLEMENTED = 501;
static const int BAD_GATEWAY = 502;
static const int SERVICE_UNAVAIABLE = 503;
static const int GATEWAY_TIMEOUT = 504;
static const int HTTP_VERSION_NOT_SUPPORTED = 505;
static const int VARIANT_ALSO_NEGOTIATES = 506; // RFC 2295
static const int INSUFFICIENT_STORAGE = 507; // RFC 4918
static const int LOOP_DETECTED = 508; // RFC 5842
static const int BANDWIDTH_LIMIT_EXCEEDED = 509; // Apache
static const int NOT_EXTENDED = 510; // RFC 2774
static const int NETWORK_AUTHENTICATION_REQUIRED = 511; // RFC 6585
static const int UNKNOWN_ERROR = 520; // Non-RFC
static const int ORIGIN_CONNECTION_TIMEOUT = 522; // CloudFlare
static const int NETWORK_READ_TIMEOUT = 598; // Microsoft
static const int NETWORK_CONNECTION_TIMEOUT = 599; // Microsoft
} // Jupiter::HTTP::Status namespace
/**
* @brief Content-type field values
*/
namespace Content
{
/**
* @brief Content-Language values
* TODO: Implement all ISO 639-1 translations
*/
namespace Language
{
static STRING_LITERAL_AS_NAMED_REFERENCE(ENGLISH, "en");
static STRING_LITERAL_AS_NAMED_REFERENCE(FRENCH, "fr");
static STRING_LITERAL_AS_NAMED_REFERENCE(GERMAN, "gr");
static STRING_LITERAL_AS_NAMED_REFERENCE(RUSSIAN, "ru");
static STRING_LITERAL_AS_NAMED_REFERENCE(JAPANESE, "ja");
static STRING_LITERAL_AS_NAMED_REFERENCE(CHINESE, "zh");
}
/**
* @brief Content-Type values
* Note: This is not an exhaustive/exclusive list of values
*/
namespace Type
{
namespace Text
{
namespace Charset
{
static STRING_LITERAL_AS_NAMED_REFERENCE(ASCII, "ascii");
static STRING_LITERAL_AS_NAMED_REFERENCE(UTF8, "utf-8");
}
static STRING_LITERAL_AS_NAMED_REFERENCE(HTML, "text/html");
static STRING_LITERAL_AS_NAMED_REFERENCE(PLAIN, "text/plain");
}
namespace Application
{
static STRING_LITERAL_AS_NAMED_REFERENCE(OCTET_STREAM, "application/octet-stream");
}
}
}
} // Jupiter::HTTP namespace
} // Jupiter namespace
#endif // _HTTP_H_HEADER

4
Jupiter/HTTP_Server.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2015 Justin James.
* Copyright (C) 2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include <ctime>

114
Jupiter/HTTP_Server.h

@ -0,0 +1,114 @@
/**
* Copyright (C) 2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _HTTP_SERVER_H_HEADER
#define _HTTP_SERVER_H_HEADER
/**
* @file HTTP_Server.h
* @brief Provides an interface to distribute data using HTTP.
*/
#include "Jupiter.h"
#include "Thinker.h"
#include "Readable_String.h"
#include "ArrayList.h"
namespace Jupiter
{
namespace HTTP
{
class JUPITER_API Server : public Thinker
{
public: // Jupiter::Thinker
virtual int think();
public: // Server
typedef Jupiter::ReadableString *HTTPFunction(const Jupiter::ReadableString &parameters);
static const Jupiter::ReadableString &global_namespace;
static const Jupiter::ReadableString &server_string;
struct JUPITER_API Content
{
Jupiter::HTTP::Server::HTTPFunction *function; // function to generate content data
Jupiter::StringS name; // name of the content
unsigned int name_checksum; // name.calcChecksum()
const Jupiter::ReadableString *language = nullptr; // Pointer to a constant (or otherwise managed) string
const Jupiter::ReadableString *type = nullptr; // Pointer to a constant (or otherwise managed) string
const Jupiter::ReadableString *charset = nullptr; // Pointer to a constant (or otherwise managed) string
virtual Jupiter::ReadableString *execute(const Jupiter::ReadableString &parameters);
Content(const Jupiter::ReadableString &in_name, Jupiter::HTTP::Server::HTTPFunction in_function);
};
class JUPITER_API Directory
{
public:
Jupiter::ArrayList<Jupiter::HTTP::Server::Directory> directories;
Jupiter::ArrayList<Jupiter::HTTP::Server::Content> content;
Jupiter::StringS name;
unsigned int name_checksum;
virtual void hook(const Jupiter::ReadableString &path, Content *in_content);
virtual bool remove(const Jupiter::ReadableString &name);
virtual bool has(const Jupiter::ReadableString &name);
virtual Jupiter::HTTP::Server::Content *find(const Jupiter::ReadableString &name);
virtual Jupiter::ReadableString *execute(const Jupiter::ReadableString &name, const Jupiter::ReadableString &parameters);
Directory(const Jupiter::ReadableString &in_name);
virtual ~Directory();
};
class JUPITER_API Host : public Directory
{
public:
/*virtual bool remove(const Jupiter::ReadableString &name);
virtual bool has(const Jupiter::ReadableString &name);
virtual Jupiter::HTTP::Server::Content *find(const Jupiter::ReadableString &name);
//virtual Jupiter::HTTP::Server::Directory *find_directory(const Jupiter::ReadableString &name);
virtual Jupiter::ReadableString *execute(const Jupiter::ReadableString &name, const Jupiter::ReadableString &parameters);*/
Host(const Jupiter::ReadableString &in_name);
};
void hook(const Jupiter::ReadableString &host, const Jupiter::ReadableString &path, Content *in_content);
bool remove(const Jupiter::ReadableString &host);
bool remove(const Jupiter::ReadableString &host, const Jupiter::ReadableString &name);
bool has(const Jupiter::ReadableString &host);
bool has(const Jupiter::ReadableString &host, const Jupiter::ReadableString &name);
Content *find(const Jupiter::ReadableString &name);
Content *find(const Jupiter::ReadableString &host, const Jupiter::ReadableString &name);
Jupiter::ReadableString *execute(const Jupiter::ReadableString &name, const Jupiter::ReadableString &parameters);
Jupiter::ReadableString *execute(const Jupiter::ReadableString &host, const Jupiter::ReadableString &name, const Jupiter::ReadableString &parameters);
bool bind(const Jupiter::ReadableString &hostname, uint16_t port = 80);
bool tls_bind(const Jupiter::ReadableString &hostname, uint16_t port = 443);
Server();
Server(Jupiter::HTTP::Server &&source);
~Server();
/** Private members */
private:
struct Data;
Data *data_;
}; // Jupiter::HTTP::Server class
} // Jupiter::HTTP namespace
} // Jupiter namespace
#endif // _HTTP_SERVER_H_HEADER

4
Jupiter/INIFile.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include <cstring>

4
Jupiter/INIFile.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _INIFILE_H_HEADER

4
Jupiter/IRC.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include "IRC.h"

4
Jupiter/IRC.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _IRC_H_HEADER

4
Jupiter/IRC_Client.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include <cstring>

4
Jupiter/IRC_Client.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _IRC_CLIENT_H_HEADER

4
Jupiter/IRC_Numerics.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _IRC_NUMERICS_H_HEADER

4
Jupiter/IRC_Server.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include "IRC_Server.h"

4
Jupiter/IRC_Server.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _IRC_SERVER_H_HEADER

4
Jupiter/InvalidIndex.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _INVALIDINDEX_H_HEADER

6
Jupiter/Jupiter.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include "Jupiter.h"
@ -21,7 +21,7 @@
extern "C"
{
const char *Jupiter_version = JUPITER_VERSION;
const char *Jupiter_copyright = "Copyright (C) 2013-2015 Justin James. ISC License.";
const char *Jupiter_copyright = "Copyright (C) 2013-2015 Jessica James. ISC License.";
}
const char *Jupiter::version = Jupiter_version;

4
Jupiter/Jupiter.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined JUPITER_API

BIN
Jupiter/Jupiter.rc

Binary file not shown.

3
Jupiter/Jupiter.vcxproj

@ -185,6 +185,7 @@
<ClCompile Include="File.cpp" />
<ClCompile Include="Functions.c" />
<ClCompile Include="Hash.c" />
<ClCompile Include="HTTP_Server.cpp" />
<ClCompile Include="INIFile.cpp" />
<ClCompile Include="IRC.cpp" />
<ClCompile Include="IRC_Client.cpp" />
@ -215,6 +216,8 @@
<ClInclude Include="DLList.h" />
<ClInclude Include="File.h" />
<ClInclude Include="Hash.h" />
<ClInclude Include="HTTP.h" />
<ClInclude Include="HTTP_Server.h" />
<ClInclude Include="InvalidIndex.h" />
<ClInclude Include="IRC.h" />
<ClInclude Include="IRC_Numerics.h" />

15
Jupiter/Jupiter.vcxproj.filters

@ -49,6 +49,12 @@
<Filter Include="Header Files\DataBuffer">
<UniqueIdentifier>{aef2e303-8a68-4cf9-8464-c4aef776d3f3}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\HTTP">
<UniqueIdentifier>{790badaf-80b5-40b0-8de1-a71f4c523074}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\HTTP">
<UniqueIdentifier>{7a4d818a-481e-467c-a3e3-d6d0e7dde244}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Functions.c">
@ -129,6 +135,9 @@
<ClCompile Include="Database.cpp">
<Filter>Source Files\Files</Filter>
</ClCompile>
<ClCompile Include="HTTP_Server.cpp">
<Filter>Source Files\HTTP</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Functions.h">
@ -254,6 +263,12 @@
<ClInclude Include="DataBuffer.h">
<Filter>Header Files\DataBuffer</Filter>
</ClInclude>
<ClInclude Include="HTTP_Server.h">
<Filter>Header Files\HTTP</Filter>
</ClInclude>
<ClInclude Include="HTTP.h">
<Filter>Header Files\HTTP</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Jupiter.rc">

4
Jupiter/List.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _LIST_H_HEADER

4
Jupiter/Plugin.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include <cstring>

4
Jupiter/Plugin.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _PLUGIN_H_HEADER

4
Jupiter/Queue.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include "Queue.h"

4
Jupiter/Queue.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _QUEUE_H_HEADER

4
Jupiter/Readable_String.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _READABLE_STRING_H_HEADER

4
Jupiter/Readable_String_Imp.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _READABLE_STRING_IMP_H_HEADER

4
Jupiter/Reference_String.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _REFERENCE_STRING_H_HEADER

4
Jupiter/Reference_String_Imp.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _REFERENCE_STRING_IMP_H_HEADER

4
Jupiter/Rehash.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include "Rehash.h"

4
Jupiter/Rehash.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _REHASH_H_HEADER

4
Jupiter/SLList.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _SLLIST_H_HEADER

4
Jupiter/SecureSocket.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include <utility> // std::move

4
Jupiter/SecureSocket.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _SECURESOCKET_H_HEADER

4
Jupiter/Shift_String.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _SHIFT_STRING_H_HEADER

4
Jupiter/Shift_String_Imp.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _SHIFT_STRING_IMP_H_HEADER

4
Jupiter/Socket.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include <cstdio>

4
Jupiter/Socket.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _SOCKET_H_HEADER

4
Jupiter/String.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _STRING_H_HEADER

4
Jupiter/String_Imp.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _STRING_IMP_H_HEADER

4
Jupiter/String_Type.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _STRING_TYPE_H_HEADER

4
Jupiter/String_Type_Imp.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _STRING_TYPE_IMP_H_HEADER

4
Jupiter/TCPSocket.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include <utility> // std::move

4
Jupiter/TCPSocket.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _TCPSOCKET_H_HEADER

4
Jupiter/Thinker.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _THINKER_H_HEADER

4
Jupiter/Timer.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include "Timer.h"

4
Jupiter/Timer.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2014-2015 Justin James.
* Copyright (C) 2014-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _TIMER_H_HEADER

4
Jupiter/UDPSocket.cpp

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#include "UDPSocket.h"

4
Jupiter/UDPSocket.h

@ -1,5 +1,5 @@
/**
* Copyright (C) 2013-2015 Justin James.
* Copyright (C) 2013-2015 Jessica James.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -13,7 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Written by Justin James <justin.aj@hotmail.com>
* Written by Jessica James <jessica.aj@outlook.com>
*/
#if !defined _UDPSOCKET_H_HEADER

BIN
Release/Jupiter.lib

Binary file not shown.
Loading…
Cancel
Save