/**#endif #if 0 && defined __target_os_linux && !defined (__cplusplus) /*-- Words for dynmaic loading of code modules Copyright (C) Tektronix, Inc. 1998 - 2001. All rights reserved. @see GNU LGPL @author Tektronix CTE %derived_by: guidod % @version %version: bln_mpt1!2.25 % (%date_modified: Mon Apr 08 20:16:52 2002 %) */ /* @description This file exports a set of system words for dynamic loading of code modules. @{ */ #if defined(__version_control__) && defined(__GNUC__)static char* id __attribute__((unused)) = "@(#) $Id: %full_filespec: dl-ext.c~bln_mpt1!2.25:csrc:bln_12xx!1 % $" #endif #define _P4_SOURCE 1 #include <pfe/pfe-base.h> #include <pfe/def-xtra.h> #include <stdio.h> #include <errno.h> #include <limits.h> #include <string.h> #include <time.h> #include <pfe/_nonansi.h> #include <pfe/_missing.h> #include <pfe/logging.h> #ifdef VxWorks #include <semLib.h> #include <sysLib.h> #include <time.h> #ifdef CLOCKS_PER_SEC_BUG #undef CLOCKS_PER_SEC #define CLOCKS_PER_SEC sysClkRateGet() #endif #endif #ifndef PATH_MAX # ifdef _POSIX_PATH_MAX # define PATH_MAX _POSIX_PATH_MAX # else # define PATH_MAX 255 # endif #endif #ifdef PFE_HAVE_USELIB;
/* |
/* |
typedef struct
|
/* |
static void call_c (p4code * sub)
|
FCode (p4_call_c)
|
/* |
/* |
struct slot_info
|
static struct slot_info p4_slot_table[P4_MOPTRS] =
|
/**
|
/**
|
/* |
/* |
/*
|
/* |
struct dlslot p4_dlslot_table [P4_DLSLOTS] =
|
/*
|
static int p4_dlslot_find (const char* nameptr, int namelen)
|
static int p4_dlslot_create (const char* nameptr, int namelen)
|
static void p4_dlslot_remove (int slot)
|
static int p4_dlslot_isnt_unique_llist (int slot)
|
/* |
/* |
/*
|
void p4_dlslot_close (int slot)
|
void p4_forget_loadm (P4_USE_BODY_ADDR)
|
void p4_forget_loadm_prelinked (P4_USE_BODY_ADDR)
|
void* p4_loadm (const p4char* nm, int l)
|
/**
|
void* p4_loadm_once(const p4char* nm, int l)
|
/**
|
/**
|
/**
|
/* |
/**
|
/**
|
/**
|
/**
|
/**
|
P4_LISTWORDS (dlfcn) =
|
/* |
/* |