This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed base64 functions
- Loading branch information
Showing
15 changed files
with
569 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,30 @@ | ||
#pragma once | ||
|
||
#include <evhttp.h> | ||
#include <semaphore.h> | ||
#include "IPv6Map.h" | ||
|
||
#define HTTP_AUTHORIZATION_REALM "Live Proxies interface - private access" | ||
|
||
typedef struct _AUTH_WEB { | ||
char *username; | ||
char *rndVerify; | ||
uint64_t expiry; | ||
IPv6Map *ip; | ||
} AUTH_WEB; | ||
|
||
typedef struct _AUTH_LOCAL { | ||
char *username; | ||
char *password; | ||
} AUTH_LOCAL; | ||
|
||
sem_t AuthWebLock; | ||
AUTH_WEB **AuthWebList; | ||
size_t AuthWebCount; | ||
|
||
sem_t AuthLocalLock; | ||
AUTH_LOCAL **AuthLocalList; | ||
size_t AuthLocalCount; | ||
|
||
void InterfaceWeb(struct evhttp_request *evRequest, void *arg); | ||
void InterfaceWebUnchecked(struct evhttp_request *evRequest, void *arg); |
Oops, something went wrong.