Functions | Variables

SSLConfig.cc File Reference

A brief file description. More...

#include "libts.h"
#include "I_Layout.h"
#include <string.h>
#include "P_Net.h"
#include "P_SSLConfig.h"
#include "P_SSLUtils.h"
#include "P_SSLCertLookup.h"
#include <records/I_RecHttp.h>
Include dependency graph for SSLConfig.cc:

Go to the source code of this file.

Functions

static void set_paths_helper (const char *path, const char *filename, char **final_path, char **final_filename)
 set_paths_helper

Variables

static ConfigUpdateHandler
< SSLCertificateConfig > * 
sslCertUpdate

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file SSLConfig.cc.


Function Documentation

static void set_paths_helper ( const char *  path,
const char *  filename,
char **  final_path,
char **  final_filename 
) [static]

set_paths_helper

If path is *not* absolute, consider it relative to PREFIX if it's empty, just take SYSCONFDIR, otherwise we can take it as-is if final_path is NULL, it will not be updated.

XXX: Add handling for Windows?

Definition at line 111 of file SSLConfig.cc.

References ats_strdup, Layout::get(), and Layout::relative_to().

Referenced by SSLConfigParams::initialize().


Variable Documentation

ConfigUpdateHandler<SSLCertificateConfig>* sslCertUpdate [static]

Definition at line 52 of file SSLConfig.cc.

Referenced by SSLCertificateConfig::startup().