Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions plugins/authproxy/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* limitations under the License.
*/

#pragma once

#include <ts/ts.h>
#include <netinet/in.h>
#include <memory>
Expand Down
3 changes: 3 additions & 0 deletions plugins/experimental/geoip_acl/acl.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
See the License for the specific language governing permissions and
limitations under the License.
*/

#pragma once

#include <cstdio>
#include <cstring>
#include <arpa/inet.h>
Expand Down
2 changes: 2 additions & 0 deletions plugins/experimental/sslheaders/sslheaders.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* limitations under the License.
*/

#pragma once

#include <ts/ts.h>
#include <ts/remap.h>
#include <cstring>
Expand Down
2 changes: 2 additions & 0 deletions plugins/experimental/uri_signing/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* limitations under the License.
*/

#pragma once

#include <stdbool.h>
#include <stdlib.h>

Expand Down
2 changes: 2 additions & 0 deletions plugins/experimental/uri_signing/cookie.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
* limitations under the License.
*/

#pragma once

#include <stddef.h>
const char *get_cookie_value(const char **cookie, size_t *cookie_ct, const char *key, size_t *ct);
2 changes: 2 additions & 0 deletions plugins/experimental/uri_signing/jwt.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* limitations under the License.
*/

#pragma once

#include <stdbool.h>
#include <jansson.h>

Expand Down
2 changes: 2 additions & 0 deletions plugins/experimental/uri_signing/normalize.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
* limitations under the License.
*/

#pragma once

int normalize_uri(const char *uri, int uri_ct, char *uri_normal, int buffer_size);
int remove_dot_segments(const char *path, int path_ct, char *ret_buffer, int buff_ct);
2 changes: 2 additions & 0 deletions plugins/experimental/uri_signing/parse.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* limitations under the License.
*/

#pragma once

#include <stdlib.h>

struct _cjose_jws_int;
Expand Down
2 changes: 2 additions & 0 deletions plugins/experimental/uri_signing/timing.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* limitations under the License.
*/

#pragma once

#include <stdint.h>
#include <time.h>

Expand Down
2 changes: 2 additions & 0 deletions src/traffic_layout/info.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
limitations under the License.
*/

#pragma once

// the original traffic_layout

void produce_features(bool json);
Expand Down