chromium/third_party/grpc/src/src/core/lib/security/credentials/credentials.cc

//
//
// Copyright 2015 gRPC authors.
//
// Licensed 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.
//
//

#include <grpc/support/port_platform.h>

#include "src/core/lib/security/credentials/credentials.h"

#include <stdint.h>
#include <string.h>

#include <grpc/support/log.h>

#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gpr/useful.h"
#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/surface/api_trace.h"

// -- Common. --

void grpc_channel_credentials_release(grpc_channel_credentials* creds) {}

void grpc_call_credentials_release(grpc_call_credentials* creds) {}

static void credentials_pointer_arg_destroy(void* p) {}

static void* credentials_pointer_arg_copy(void* p) {}

static int credentials_pointer_cmp(void* a, void* b) {}

static const grpc_arg_pointer_vtable credentials_pointer_vtable =;

grpc_arg grpc_channel_credentials_to_arg(
    grpc_channel_credentials* credentials) {}

grpc_channel_credentials* grpc_channel_credentials_from_arg(
    const grpc_arg* arg) {}

grpc_channel_credentials* grpc_channel_credentials_find_in_args(
    const grpc_channel_args* args) {}

void grpc_server_credentials_release(grpc_server_credentials* creds) {}

void grpc_server_credentials::set_auth_metadata_processor(
    const grpc_auth_metadata_processor& processor) {}

void grpc_server_credentials_set_auth_metadata_processor(
    grpc_server_credentials* creds, grpc_auth_metadata_processor processor) {}

static void server_credentials_pointer_arg_destroy(void* p) {}

static void* server_credentials_pointer_arg_copy(void* p) {}

static int server_credentials_pointer_cmp(void* a, void* b) {}

static const grpc_arg_pointer_vtable cred_ptr_vtable =;

grpc_arg grpc_server_credentials_to_arg(grpc_server_credentials* c) {}

grpc_server_credentials* grpc_server_credentials_from_arg(const grpc_arg* arg) {}

grpc_server_credentials* grpc_find_server_credentials_in_args(
    const grpc_channel_args* args) {}