mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 02:30:11 +01:00
Using the ppp code is rather ugly. Historically, the pppd headers don't follow a good naming convention, and define things that cause conflicts with our headers: /usr/include/pppd/patchlevel.h:#define VERSION "2.4.9" /usr/include/pppd/pppd.h:typedef unsigned char bool; Hence we had to include the pppd headers in certain order, and be careful. ppp 2.5 changes API and cleans that up. But since we need to support also old versions, it does not immediately simplify anything. Only include "pppd" headers in "nm-pppd-compat.c" and expose a wrapper API from "nm-pppd-compat.h". The purpose is that "nm-pppd-compat.h" exposes clean names, while all the handling of ppp is in the source file. |
||
|---|---|---|
| .. | ||
| meson.build | ||
| nm-ppp-manager-call.c | ||
| nm-ppp-manager-call.h | ||
| nm-ppp-manager.c | ||
| nm-ppp-manager.h | ||
| nm-ppp-mgr.c | ||
| nm-ppp-mgr.h | ||
| nm-ppp-plugin-api.h | ||
| nm-ppp-plugin.ver | ||
| nm-ppp-status.h | ||
| nm-pppd-compat.c | ||
| nm-pppd-compat.h | ||
| nm-pppd-plugin.c | ||
| nm-pppd-plugin.h | ||