git.fiddlerwoaroof.com
Browse code

revert "format"

This reverts commit 175429b4b0fad0c1773ef9adae4a5b11b84f91d8.

Greg Wiley authored on 21/04/2017 05:54:31
Showing 26 changed files
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <security/pam_modules.h>
12 2
 #include <algorithm>
13 3
 #include <vector>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #ifndef _CONVERSATION_H
12 2
 #define _CONVERSATION_H
13 3
 
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <vector>
12 2
 #include <algorithm>
13 3
 #include <string>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <string>
12 2
 #include <vector>
13 3
 #include <security/pam_modules.h>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 /* PAM handlers class interface. The methods on the dual control class
12 2
  * correspond directly to the specified PAM handler entrypoints.
13 3
  *
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 /* PAM native handler entrypoints. Keep these dumb so the logic can
12 2
  * be tested.
13 3
  */
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <security/pam_modules.h>
12 2
 #include <string>
13 3
 
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #ifndef __DUAL_CONTROL_LOGGING
12 2
 #define __DUAL_CONTROL_LOGGING
13 3
 
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <syslog.h>
12 2
 
13 3
 #include "logging.h"
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <cstdio>
12 2
 #include <cstring>
13 3
 #include <syslog.h>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <vector>
12 2
 #include <security/pam_modules.h>
13 3
 #include <security/pam_appl.h>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #ifndef _PAM_H
12 2
 #define _PAM_H
13 3
 #include <memory>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <vector>
12 2
 #include <string>
13 3
 
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #ifndef ARGUMENT_H
12 2
 #define ARGUMENT_H
13 3
 
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <vector>
12 2
 #include <string>
13 3
 #include <security/pam_modules.h>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 /* Include this in a module that will be under test coverage
12 2
  *
13 3
  */
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #ifndef _TESTUTIL_H
12 2
 #define _TESTUTIL_H
13 3
 
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <cstdlib>
12 2
 #include <cstring>
13 3
 #include <security/pam_modules.h>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #ifndef _TOKEN_H
12 2
 #define _TOKEN_H
13 3
 #include <string>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <cstring>
12 2
 #include <pwd.h>
13 3
 #include <cstdio>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <memory>
12 2
 #include <vector>
13 3
 #include <string>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #ifndef _USER_H
12 2
 #define _USER_H
13 3
 #include <vector>
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <memory>
12 2
 #include <iostream>
13 3
 #include "user.h"
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <string>
12 2
 #include <vector>
13 3
 
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #ifndef _VALIDATOR_H
12 2
 #define _VALIDATOR_H
13 3
 
... ...
@@ -1,13 +1,3 @@
1
-/* Copyright (C) CJ Affiliate
2
- *
3
- * You may use, distribute and modify this code under  the
4
- * terms of the GNU Public License.
5
- *
6
- * You should have received a copy of the license with this
7
- * file. If not, you will find a copy in the "LICENSE" file
8
- * at https://github.com/cjdev/dual-control.
9
- */
10
-
11 1
 #include <string>
12 2
 #include <vector>
13 3