1. 16 Jun, 2016 2 commits
    • Thomas Haller's avatar
      shared: include "gsystem-local-alloc.h" from "nm-glib.h" · 037462e9
      Thomas Haller authored
      "nm-glib.h" is the most basic header, the one we cannot do without.
      ("nm-default.h", is already more generic, the one which every common
      source file in NetworkManager repository should include).
      
      Let "gsystem-local-alloc.h" be included by "nm-glib.h" and nowhere
      else.
      037462e9
    • Thomas Haller's avatar
      shared: move shared files to subdirectory "shared/nm-utils/" · 4b288136
      Thomas Haller authored
      The "shared" directory contains files that are possibly used by all components
      of NetworkManager repository.
      
      Some of these files are even copied as-is to other projects (VPN plugins, nm-applet)
      and used there without modification. Move those files to a separate directory.
      By moving them to a common directory, it is clearer that they belong
      together. Also, you can easier compare the copied versions to their
      original via
      
        $ diff -r ./shared/nm-utils/ /path/to/nm-vpn-plugin/shared/nm-utils/
      4b288136
  2. 15 Jun, 2016 1 commit
    • Thomas Haller's avatar
      libnm/vpn: add nm_vpn_editor_plugin_load_vt() · cf34211c
      Thomas Haller authored
      Let VPN plugins return a virtual function table to extend
      the API while bypassing libnm. This allows to add and use
      new functionality to VPN plugins without updating libnm.
      
      The actual definitions are in a header-only file
      "nm-vpn-editor-plugin-call.h", which can be copied to the
      caller/plugin.
      cf34211c