mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 06:00:08 +01:00
The idea is to have useful and correct helper functions, that are generic and reusable. nmcs_utils_poll() was done with that intent, and it is a generally useful function. As the implementation shows, it's not entirely trivial to get all the parameters right, when it comes to glib-integration (GMainContext and GTask) and polling. Whether something like a generic poll helper is a useful thing at all, may be a valid question. E.g. you need several hooks, and the usage is still not trivial. Regardless of that, "nm-cloud-setup-utils.c" already had such a helper. This is only about moving it to a place where it is actually accessible to others. And, if it turns out to be a good idea after all, then somebody else could use it. |
||
|---|---|---|
| .. | ||
| tests | ||
| 90-nm-cloud-setup.sh | ||
| main.c | ||
| meson.build | ||
| nm-cloud-setup-utils.c | ||
| nm-cloud-setup-utils.h | ||
| nm-cloud-setup.service.in | ||
| nm-cloud-setup.timer | ||
| nm-http-client.c | ||
| nm-http-client.h | ||
| nmcs-provider-aliyun.c | ||
| nmcs-provider-aliyun.h | ||
| nmcs-provider-azure.c | ||
| nmcs-provider-azure.h | ||
| nmcs-provider-ec2.c | ||
| nmcs-provider-ec2.h | ||
| nmcs-provider-gcp.c | ||
| nmcs-provider-gcp.h | ||
| nmcs-provider.c | ||
| nmcs-provider.h | ||
| README.md | ||