Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
43d9f0e3
Commit
43d9f0e3
authored
Oct 22, 2021
by
Peter Pettersson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntmlclient: make enum C90 compliant by removing trailing comma
parent
38c34498
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
deps/ntlmclient/ntlm.h
+4
-4
deps/ntlmclient/ntlmclient.h
+2
-2
No files found.
deps/ntlmclient/ntlm.h
View file @
43d9f0e3
...
@@ -30,7 +30,7 @@ typedef enum {
...
@@ -30,7 +30,7 @@ typedef enum {
NTLM_STATE_CHALLENGE
=
1
,
NTLM_STATE_CHALLENGE
=
1
,
NTLM_STATE_RESPONSE
=
2
,
NTLM_STATE_RESPONSE
=
2
,
NTLM_STATE_ERROR
=
3
,
NTLM_STATE_ERROR
=
3
,
NTLM_STATE_COMPLETE
=
4
,
NTLM_STATE_COMPLETE
=
4
}
ntlm_state
;
}
ntlm_state
;
typedef
struct
{
typedef
struct
{
...
@@ -122,7 +122,7 @@ struct ntlm_client {
...
@@ -122,7 +122,7 @@ struct ntlm_client {
};
};
typedef
enum
{
typedef
enum
{
NTLM_ENABLE_HOSTVERSION
=
(
1
<<
31
)
,
NTLM_ENABLE_HOSTVERSION
=
(
1
<<
31
)
}
ntlm_client_internal_flags
;
}
ntlm_client_internal_flags
;
typedef
enum
{
typedef
enum
{
...
@@ -130,7 +130,7 @@ typedef enum {
...
@@ -130,7 +130,7 @@ typedef enum {
NTLM_TARGET_INFO_SERVER
=
1
,
NTLM_TARGET_INFO_SERVER
=
1
,
NTLM_TARGET_INFO_DOMAIN
=
2
,
NTLM_TARGET_INFO_DOMAIN
=
2
,
NTLM_TARGET_INFO_SERVER_DNS
=
3
,
NTLM_TARGET_INFO_SERVER_DNS
=
3
,
NTLM_TARGET_INFO_DOMAIN_DNS
=
4
,
NTLM_TARGET_INFO_DOMAIN_DNS
=
4
}
ntlm_target_info_type_t
;
}
ntlm_target_info_type_t
;
typedef
enum
{
typedef
enum
{
...
@@ -168,7 +168,7 @@ typedef enum {
...
@@ -168,7 +168,7 @@ typedef enum {
NTLM_NEGOTIATE_TARGET_INFO
=
0x00800000
,
NTLM_NEGOTIATE_TARGET_INFO
=
0x00800000
,
/* Version information should be provided */
/* Version information should be provided */
NTLM_NEGOTIATE_VERSION
=
0x01000000
,
NTLM_NEGOTIATE_VERSION
=
0x01000000
}
ntlm_negotiate_t
;
}
ntlm_negotiate_t
;
extern
int
ntlm_client_set_nonce
(
ntlm_client
*
ntlm
,
uint64_t
nonce
);
extern
int
ntlm_client_set_nonce
(
ntlm_client
*
ntlm
,
uint64_t
nonce
);
...
...
deps/ntlmclient/ntlmclient.h
View file @
43d9f0e3
...
@@ -32,7 +32,7 @@ typedef enum {
...
@@ -32,7 +32,7 @@ typedef enum {
/**
/**
* The input provided to the function is missing or invalid.
* The input provided to the function is missing or invalid.
*/
*/
NTLM_CLIENT_ERROR_INVALID_INPUT
=
-
2
,
NTLM_CLIENT_ERROR_INVALID_INPUT
=
-
2
}
ntlm_error_code
;
}
ntlm_error_code
;
/*
/*
...
@@ -98,7 +98,7 @@ typedef enum {
...
@@ -98,7 +98,7 @@ typedef enum {
* its idea of its hostname in the challenge message. You may
* its idea of its hostname in the challenge message. You may
* then set the authentication target based on it.
* then set the authentication target based on it.
*/
*/
NTLM_CLIENT_DISABLE_REQUEST_TARGET
=
(
1
<<
4
)
,
NTLM_CLIENT_DISABLE_REQUEST_TARGET
=
(
1
<<
4
)
}
ntlm_client_flags
;
}
ntlm_client_flags
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment