-
Notifications
You must be signed in to change notification settings - Fork 7
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
7 changed files
with
47 additions
and
30 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
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.. |br| raw:: html | ||
|
||
<br /> | ||
|
||
Libmodule Concepts | ||
================== | ||
|
||
Module concept | ||
-------------- | ||
|
||
A module is key entity of libmodule: it is a single and indipendent logical unit that reacts to certain events by polling on a fd. |br| | ||
It offers some callbacks that are used by libmodule to manage its life. |br| | ||
It is initialized through MODULE macro: | ||
|
||
.. code:: | ||
MODULE(test) | ||
This macro creates a "test" module. |br| | ||
MODULE macro also creates a constructor and destructor that are automatically called by libmodule at start and at end of program. |br| | ||
Finally, this macro declares all of needed callbacks and returns an opaque handler for the module, that will be transparently passed with each call to libmodule API while using easy AP:ref:`module_easy`. |br| | ||
|
||
Submodule concept | ||
----------------- | ||
|
||
PLACEHOLDER | ||
|
||
Context concept | ||
--------------- | ||
|
||
PLACEHOLDER |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. |br| raw:: html | ||
|
||
<br /> | ||
|
||
Libmodule Context-aware API | ||
=========================== | ||
|
||
PLACEHOLDER | ||
|
||
|
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
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
This file was deleted.
Oops, something went wrong.