summaryrefslogtreecommitdiffstats
path: root/python/examples
Commit message (Collapse)AuthorAgeFilesLines
* build: merge python/Makefile.am into top-level makefileThomas Haller2017-02-271-6/+0
|
* python: Include all files in distributionThomas Graf2013-11-061-0/+6
| | | | Signed-off-by: Thomas Graf <tgraf@suug.ch>
* python: remove use of PyArg_ParseTuple() for callback resultArend van Spriel2013-10-071-1/+1
| | | | | | | | | | | | | | The message receive callback handler in the netlink api processes the result object from the python callback. It used PyArg_ParseTuple() to get the value, but this does not work as intended (see ref [1]). Instead check the type and convert it accordingly. refs: [1] http://stackoverflow.com/questions/13636711/what-is-the-proper-usage-of-pyarg-parsetuple Reported-by: Teto <mattator@gmail.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* add python examples using swig provided apiArend van Spriel2013-09-053-0/+1811
using the nl80211 family to show use of generic netlink api and attribute parsing. Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>