-
Notifications
You must be signed in to change notification settings - Fork 191
Make cycle_callback a functor (+ rename cycle_callback -> data_callback) #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d83de8b
Merge pull request #1 from etr/master
vozhyk- 1419fec
Rename cycle_callback -> data_callback; make data_callback a functor
vozhyk- ef45cd1
Use MHD_ContentReaderFreeCallback free_cb to delete data_callback
vozhyk- 149f936
Fix http_response::data_callback declaration
vozhyk- a0fedda
Add CMake module to Makefile.am to be installed
vozhyk- 818ef2a
Add ebuild
vozhyk- a495f45
ebuild: Change repo URI to github
vozhyk- File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| EBUILD libhttpserver-9999.ebuild 801 SHA256 339a46d12470a896c3068cee951e62bba0ddd6205629af7c81092766ba02e081 SHA512 2395d7c34eb0553ac78871dc0d18c9e83929d0a301c9e46227bc90961e324ee80afadb151cf8936f8cff157a271d7b0bd503e3129e8012d7ca784d5f5ab19678 WHIRLPOOL cce855b6906df88c6923bdc5f291a418ca96d95d4e3595b26b34fb0f2ca09ac9bd6da5b7b1822d6fa69c79694ee89ee261b2bb33d4c1096ac424c42e428eb733 |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| # Copyright 2015 Gentoo Foundation | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
| # $Header: $ | ||
|
|
||
| EAPI="4" | ||
|
|
||
| inherit git-r3 | ||
|
|
||
| FORK="vozhyk-" # use "etr" for original version | ||
|
|
||
| DESCRIPTION="C++ library for creating an embedded Rest HTTP server (and more)" | ||
| HOMEPAGE="http://github.com/${FORK}/${PN}" | ||
| EGIT_REPO_URI="git://github.com/${FORK}/${PN}.git" | ||
|
|
||
| LICENSE="LGPL-2.1" | ||
| SLOT="0" | ||
| KEYWORDS="~amd64" | ||
| IUSE="debug" | ||
|
|
||
| RDEPEND=">=net-libs/libmicrohttpd-0.9.37" | ||
| DEPEND="${RDEPEND}" | ||
|
|
||
| src_configure() { | ||
| ./bootstrap | ||
|
|
||
| mkdir build | ||
| cd build && ECONF_SOURCE=.. econf \ | ||
| $(use_enable debug) \ | ||
| --disable-doxygen-doc # no useflag for now | ||
| # TODO configure checks for TLS | ||
| } | ||
|
|
||
| src_compile() { | ||
| cd build && emake | ||
| } | ||
|
|
||
| src_install() { | ||
| cd build && emake DESTDIR="${D}" install | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be improved by mirroring MHD documentation