summaryrefslogtreecommitdiff
path: root/src/pluto/fetch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluto/fetch.h')
-rw-r--r--src/pluto/fetch.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/src/pluto/fetch.h b/src/pluto/fetch.h
index 67be12d47..f7b4eb074 100644
--- a/src/pluto/fetch.h
+++ b/src/pluto/fetch.h
@@ -11,31 +11,29 @@
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
- *
- * RCSID $Id: fetch.h 3252 2007-10-06 21:24:50Z andreas $
*/
#include "x509.h"
-#define FETCH_CMD_TIMEOUT 10 /* seconds */
+#define FETCH_CMD_TIMEOUT 10 /* seconds */
-struct ocsp_location; /* forward declaration of ocsp_location defined in ocsp.h */
+struct ocsp_location; /* forward declaration of ocsp_location defined in ocsp.h */
typedef enum {
- FETCH_GET = 1,
- FETCH_POST = 2
+ FETCH_GET = 1,
+ FETCH_POST = 2
} fetch_request_t;
typedef struct fetch_req fetch_req_t;
struct fetch_req {
- fetch_req_t *next;
- time_t installed;
- int trials;
- chunk_t issuer;
- chunk_t authKeyID;
- chunk_t authKeySerialNumber;
- generalName_t *distributionPoints;
+ fetch_req_t *next;
+ time_t installed;
+ int trials;
+ chunk_t issuer;
+ chunk_t authKeyID;
+ chunk_t authKeySerialNumber;
+ generalName_t *distributionPoints;
};
#ifdef THREADS
@@ -67,9 +65,9 @@ extern void init_fetch(void);
extern void free_crl_fetch(void);
extern void free_ocsp_fetch(void);
extern void add_distribution_points(const generalName_t *newPoints
- , generalName_t **distributionPoints);
+ , generalName_t **distributionPoints);
extern fetch_req_t* build_crl_fetch_request(chunk_t issuer, chunk_t authKeySerialNumber
- , chunk_t authKeyID, const generalName_t *gn);
+ , chunk_t authKeyID, const generalName_t *gn);
extern void add_crl_fetch_request(fetch_req_t *req);
extern void add_ocsp_fetch_request(struct ocsp_location *location, chunk_t serialNumber);
extern void list_distribution_points(const generalName_t *gn);