Skip to content

Commit

Permalink
Forward definitions to allow stand-alone parsing
Browse files Browse the repository at this point in the history
Since https_internal.h is only intended to be included by other http/
files, this isn't really a mistake.  However, there's no harm in adding
these forward definitions.
  • Loading branch information
gperciva committed Aug 1, 2024
1 parent 533190a commit ceae2d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions http/https_internal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#ifndef HTTPS_INTERNAL_H_
#define HTTPS_INTERNAL_H_

#include <stddef.h>

/* Forward definitions. */
struct http_request;
struct http_response;
struct sock_addr;

/*
* Function pointers defined in http.c; we set them from https_request in
* order to avoid requiring unencrypted HTTP code to link to libssl.
Expand Down

0 comments on commit ceae2d0

Please sign in to comment.