introduce modules function table and convenience macro to implement modules
Bug #694477 reported by
Alexander Sack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntrack |
Fix Released
|
Wishlist
|
Alexander Sack |
Bug Description
first step towards lp:692327 - "export plugin/module headers and stable api" is to make a proper function table etc. out of the current modules/plugin API.
1. wrap the current _ntrack_* funcs from ntrackarchapi.h into a function table.
2. declare a struct that allows module meta info definition to include:
- shortname
- longname
- function table
3. define a macro NTRACK_
4. move ntrack-libnl.c to use that API
Related branches
Changed in ntrack: | |
assignee: | nobody → Alexander Sack (asac) |
importance: | Undecided → Wishlist |
milestone: | none → 012 |
status: | New → In Progress |
description: | updated |
description: | updated |
To post a comment you must log in.
------- ------- ------- ------- ------- ------- ------- ------- ---- /launchpad. net/bugs/ 694477 ------- ------- ------- ------- ------- ------- ------- ---- /launchpad. net/bugs/ 694477 MODULE_ DEFINE - lp:694477 ------- ------- ------- ------- ------- ------- ------- ----
revno: 268
fixes bug(s): https:/
committer: Alexander Sack <email address hidden>
branch nick: ntrack
timestamp: Sun 2010-12-26 14:22:32 +0100
message:
modules: move ntrack-libnl.c to new plugin API - lp:694477
-------
revno: 267
fixes bug(s): https:/
committer: Alexander Sack <email address hidden>
branch nick: ntrack
timestamp: Sun 2010-12-26 14:20:55 +0100
message:
common: factor module plugin API into a func table and intro macro NTRACK_
-------