Skip to content

Commit 1a6ab20

Browse files
verpeterenefyx
authored andcommitted
Changed license to MIT
1 parent 196aaea commit 1a6ab20

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+655
-510
lines changed

LICENSE

+367
Large diffs are not rendered by default.

README.md

+7-20
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,15 @@
1-
# LibApeNetwork - Cross-platform Async network lib
1+
# LibApeNetwork - Fast cross-platform async network library
22

33
## Background
44

5-
This library has grown out of the Ajax Push Engine Project so that it can be used as "Async Push Engine Network Library"
6-
7-
## License
8-
9-
Copyright (C) 2010-2015 Anthony Catel <[email protected]>
10-
11-
This library is free software; you can redistribute it and/or
12-
modify it under the terms of the GNU Lesser General Public
13-
License as published by the Free Software Foundation; either
14-
version 2.1 of the License, or (at your option) any later version.
15-
16-
This library is distributed in the hope that it will be useful,
17-
but WITHOUT ANY WARRANTY; without even the implied warranty of
18-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19-
Lesser General Public License for more details.
20-
21-
You should have received a copy of the GNU Lesser General Public
22-
License along with this library; if not, write to the Free Software
23-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
5+
This project has evolved out of the Ajax Push Engine Project so that it can be used as a seperate library.
246

257
## APE C API
268

279
- All public functions are defined by "APE_" (uppercase)
2810
- Non public functions are defined by "ape_" (lowercase)
11+
12+
## License
13+
14+
Copyright 2016 Nidium Inc. All rights reserved.
15+
Use of this source code is governed by a MIT license that can be found in the LICENSE file.

ape_array.c

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2013 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
//#include "common.h"

ape_array.h

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2013 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#ifndef __APE_ARRAY_H

ape_base64.c

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2013 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#include <stdint.h>

ape_base64.h

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2013 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#ifndef __APE_BASE64_H

ape_blowfish.c

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2222
*/
2323

24-
2524
#include "ape_blowfish.h"
2625
#include <stdlib.h>
2726
#include <string.h>

ape_blowfish.h

+20-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
/*
2-
Blowfish algorithm
3-
Copyright (c) 2012 Samuel Pitoiset
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
* Blowfish algorithm
3+
* Copyright (c) 2012 Samuel Pitoiset
4+
*
5+
* loosely based on Paul Kocher's implementation
6+
*
7+
* This file is part of FFmpeg.
8+
*
9+
* FFmpeg is free software; you can redistribute it and/or
10+
* modify it under the terms of the GNU Lesser General Public
11+
* License as published by the Free Software Foundation; either
12+
* version 2.1 of the License, or (at your option) any later version.
13+
*
14+
* FFmpeg is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17+
* Lesser General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU Lesser General Public
20+
* License along with FFmpeg; if not, write to the Free Software
21+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1822
*/
1923

2024
#ifndef __APE_BLOWFISH_H

ape_buffer.c

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2013 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#include "ape_buffer.h"

ape_buffer.h

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2013 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#ifndef __APE_BUFFER_H_

ape_dns.c

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2013 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#ifdef _WIN32

ape_dns.h

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2013 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#ifndef __APE_DNS_H_

ape_event_epoll.c

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2013 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#include "common.h"

ape_event_kqueue.c

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2014 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#include "common.h"

ape_event_select.c

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2013 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#include "common.h"

ape_events.c

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2014 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#include "common.h"

ape_events.h

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
2-
APE Network Library
3-
Copyright (C) 2010-2014 Anthony Catel <[email protected]>
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright 2016 Nidium Inc. All rights reserved.
3+
Use of this source code is governed by a MIT license
4+
that can be found in the LICENSE file.
185
*/
196

207
#ifndef __APE_EVENTS_H_

0 commit comments

Comments
 (0)