Commit abff46ca authored by Thomas Haller's avatar Thomas Haller

all: manually drop code comments with file description

parent 96835215
// SPDX-License-Identifier: GPL-2.0+
/*
* nmcli - command-line tool for controlling NetworkManager
* Functions for running NM secret agent.
*
* Copyright 2014 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/*
* nmcli - command-line tool for controlling NetworkManager
* Functions for running NM secret agent.
*
* Copyright 2014 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/*
* nmcli - command-line tool for controlling NetworkManager
* Common functions and data shared between files.
*
* Copyright 2012 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/*
* nmcli - command-line tool for controlling NetworkManager
* Common functions and data shared between files.
*
* Copyright 2012 - 2014 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* (C) Copyright 2010 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* (C) Copyright 2010 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2014 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Jiri Klimes <jklimes@redhat.com>
*
* Copyright 2010 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2014 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2014 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2015 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2014 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 Lennart Poettering
* Copyright 2010 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2017 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2017 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* NetworkManager
*
/*
* Copyright 2010 - 2017 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* NetworkManager
*
/*
* Copyright 2010 - 2017 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
/*
* Copyright 2010 - 2018 Red Hat, Inc.
*/
......
......@@ -2,7 +2,6 @@
/*
* Copyright (C) 2006 - 2008 Novell, Inc.
* Copyright (C) 2008 - 2014 Red Hat, Inc.
*
*/
/*
......
#!/usr/bin/perl -n
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2018 Red Hat, Inc.
#
# $ perldoc checkpatch.pl for eye-pleasing view of the manual:
......
......@@ -3,11 +3,10 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- Script for importing/converting OpenConnect VPN configuration files for NetworkManager
-- In general, the implementation follows the logic of import() from
-- https://git.gnome.org/browse/network-manager-openconnect/tree/properties/nm-openconnect.c
--
----------------------
-- Helper functions --
......
......@@ -3,11 +3,11 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- Script for importing/converting OpenVPN configuration files for NetworkManager
-- In general, the implementation follows the logic of import() from
-- https://git.gnome.org/browse/network-manager-openvpn/tree/properties/import-export.c
--
----------------------
-- Helper functions --
......
......@@ -3,11 +3,10 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- Script for importing/converting Cisco VPN configuration files (.pcf) to NetworkManager
-- In general, the implementation follows the logic of import() from
-- https://git.gnome.org/browse/network-manager-vpnc/tree/properties/nm-vpnc.c
--
----------------------
-- Helper functions --
......
#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2018 Red Hat, Inc.
#
# $ perldoc modemu.pl for eye-pleasing view of the manual:
......
// SPDX-License-Identifier: GPL-2.0+
/* NetworkManager -- Network link manager
*
/*
* Copyright (C) 2008 - 2011 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* NetworkManager -- Network link manager
*
/*
* Copyright (C) 2008 - 2011 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/* NetworkManager -- Network link manager
*
/*
* Copyright (C) 2008 - 2012 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2011 Red Hat, Inc.
*
*/
#include "nm-default.h"
......
#!/usr/bin/env gjs
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2014,2017 Red Hat, Inc.
*/
......
......@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- Adding an Ethernet connection to NetworkManager in Lua.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local GLib = lgi.GLib
......
......@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- This example changes username in a VPN profile.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local NM = lgi.NM
......
......@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- Deactivate all active connections (of certain type).
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local NM = lgi.NM
......
......@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- This example gets basic information about NetworkManager.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local NM = lgi.NM
......
......@@ -3,14 +3,13 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- This example shows how to get addresses, routes and DNS information from
-- NMIP4Config and NMIP6Config (got out of NMDevice)
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local NM = lgi.NM
......
......@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- Getting and printing all NetworkManager connection in Lua.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local GLib = lgi.GLib
......
......@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- Getting basic information about network interfaces known to NetworkManager.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local GLib = lgi.GLib
......
......@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- This example lists Wi-Fi access points NetworkManager scanned on Wi-Fi devices.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local NM = lgi.NM
......
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2014 Red Hat, Inc.
#
......
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2017 Red Hat, Inc.
#
import sys
......
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2015 Red Hat, Inc.
#
......
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
#
# Copyright (C) 2012 Red Hat, Inc.
#
......
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
#
# Copyright (C) 2016 Red Hat, Inc.
#
......
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
#
# Copyright (C) 2015 Red Hat, Inc.
#
......
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
#
# Copyright 2014 Red Hat, Inc.
#
......
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2012 - 2014 Red Hat, Inc.
#
......
......@@ -2,6 +2,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2018 - 2019 Red Hat, Inc.
#
# nm-wg-set: modify an existing WireGuard connection profile.
#
......
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2017 Red Hat, Inc.
#
#
# set and show user-data for a connection:
......
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
# coding=utf-8
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright (C) 2013 Red Hat, Inc.
#
......
// SPDX-License-Identifier: GPL-2.0+
/* NetworkManager -- Network link manager
*
/*
* Copyright 2014 - 2018 Red Hat, Inc.
*/
......
// SPDX-License-Identifier: LGPL-2.1+
/* NetworkManager Wireless Applet -- Display wireless access points and allow user control