Functions | Variables

RecLocal.cc File Reference

Record local definitions. More...

#include "libts.h"
#include "Rollback.h"
#include "ParseRules.h"
#include "P_RecCore.h"
#include "P_RecLocal.h"
#include "P_RecMessage.h"
#include "P_RecUtils.h"
#include "P_RecFile.h"
#include "LocalManager.h"
#include "FileManager.h"
Include dependency graph for RecLocal.cc:

Go to the source code of this file.

Functions

bool i_am_the_record_owner (RecT rec_type)
static void * sync_thr (void *data)
static void * config_update_thr (void *)
void RecMessageInit ()
int RecLocalInit (Diags *_diags)
int RecLocalInitMessage ()
int RecLocalStart (FileManager *configFiles)
int RecRegisterManagerCb (int id, RecManagerCb _fn, void *_data)
void RecSignalManager (int id, const char *, size_t)
int RecMessageSend (RecMessage *msg)

Variables

static bool message_initialized_p = false

Detailed Description

Record local definitions.

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 RecLocal.cc.


Function Documentation

static void* config_update_thr ( void *   )  [static]
bool i_am_the_record_owner ( RecT  rec_type  ) 

Definition at line 42 of file RecLocal.cc.

References ink_assert, RECT_CLUSTER, RECT_CONFIG, RECT_LOCAL, RECT_NODE, RECT_PLUGIN, and RECT_PROCESS.

int RecLocalInit ( Diags _diags  ) 

Definition at line 132 of file RecLocal.cc.

References g_mode_type, REC_ERR_FAIL, RecCoreInit(), and RECM_SERVER.

int RecLocalInitMessage (  ) 

Definition at line 165 of file RecLocal.cc.

References RecMessageInit(), RecMessageRegisterRecvCb(), and recv_message_cb().

int RecLocalStart ( FileManager *  configFiles  ) 

Definition at line 187 of file RecLocal.cc.

References config_update_thr(), ink_thread_create(), and sync_thr().

void RecMessageInit (  ) 
int RecMessageSend ( RecMessage msg  ) 
int RecRegisterManagerCb ( int  id,
RecManagerCb  _fn,
void *  _data 
)

Definition at line 196 of file RecLocal.cc.

void RecSignalManager ( int  id,
const char *  ,
size_t   
)

Definition at line 202 of file RecLocal.cc.

References DL_Debug, and RecDebug().

static void* sync_thr ( void *  data  )  [static]

Variable Documentation

bool message_initialized_p = false [static]

Definition at line 36 of file RecLocal.cc.

Referenced by RecMessageInit(), and RecMessageSend().