Browse Source

Fixed linux build

Added LICENSE and README
master
Nicolas Dextraze 4 years ago
parent
commit
f350487577
  1. 7
      LICENSE
  2. 12
      README.md
  3. 5
      src/utils/socket.h

7
LICENSE

@ -0,0 +1,7 @@
Copyright 2018 Nicolas Dextraze and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

12
README.md

@ -0,0 +1,12 @@
# EventStore C Client
### The project
This project is in it's infancy. I need help with many things, from C best practices to documentation passing by portability.
If you can/want to help you can contact me via github.
Right now the code supports both 64bit linux and Windows (using msys2/mingw).
### License
See LICENSE file

5
src/utils/socket.h

@ -5,6 +5,11 @@
#ifndef ESC_SOCKET_H
#define ESC_SOCKET_H
#include <stddef.h>
#ifdef __linux__
#include <unistd.h> //ssize_t
#endif
struct st_socket;
typedef struct st_socket socket_t;

Loading…
Cancel
Save