X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcommon%2Finclude%2Frmr_symtab.h;fp=src%2Fcommon%2Finclude%2Frmr_symtab.h;h=0000000000000000000000000000000000000000;hb=68c1ab2191d9959fde0bd275a560f7c9cf6df485;hp=74c5aa3325cf781f6cf56267d5fa6b2cd6a49964;hpb=f7d44570f8de6e15f768e8e2d9b6061cd0bff11f;p=ric-plt%2Flib%2Frmr.git diff --git a/src/common/include/rmr_symtab.h b/src/common/include/rmr_symtab.h deleted file mode 100644 index 74c5aa3..0000000 --- a/src/common/include/rmr_symtab.h +++ /dev/null @@ -1,54 +0,0 @@ -// : vi ts=4 sw=4 noet : -/* -================================================================================== - Copyright (c) 2019 Nokia - Copyright (c) 2018-2019 AT&T Intellectual Property. - - 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. -================================================================================== -*/ - -/* - Mnemonic: rmr_symtab.h - Abstract: Header file for the symbol table. - Date: 4 February 2019 - Author: E. Scott Daniels -*/ - -#ifndef _rmr_symtab_h -#define _rmr_symtab_h - -#include - -/* --------- symtab ---------------- */ -#define UT_FL_NOCOPY 0x00 /* use user pointer */ -#define UT_FL_COPY 0x01 /* make a copy of the string data */ -#define UT_FL_FREE 0x02 /* free val when deleting */ - - -/* ------------ symtab ----------------------------- */ -extern void rmr_sym_clear( void *s ); -extern void rmr_sym_dump( void *s ); -extern void *rmr_sym_alloc( int size ); -extern void rmr_sym_del( void *s, const char *name, unsigned int class ); -extern void *rmr_sym_ndel( void *vtable, uint64_t key ); -extern void rmr_sym_free( void *vtable ); -extern void *rmr_sym_get( void *s, const char *name, unsigned int class ); -extern int rmr_sym_put( void *s, const char *name, unsigned int class, void *val ); -extern int rmr_sym_map( void *s, uint64_t key, void *val ); -extern void *rmr_sym_pull( void *vtable, uint64_t key ); -extern void rmr_sym_stats( void *s, int level ); -extern void rmr_sym_foreach_class( void *vst, unsigned int class, void (* user_fun)( void*, void*, const char*, void*, void* ), void *user_data ); - - -#endif