new functions that fetch on behalf host name and user name

This commit is contained in:
Jeff Hill
2004-03-24 19:20:58 +00:00
parent 36f9090897
commit c5db766b33
7 changed files with 18 additions and 3 deletions

View File

@@ -43,6 +43,9 @@
typedef unsigned long arrayElementCount;
#include "net_convert.h"
#define epicsExportSharedSymbols
#include "rsrv.h"
#include "server.h"
#define RECORD_NAME(PADDR) ((PADDR)->precord->name)

View File

@@ -29,6 +29,8 @@
#include "db_access.h"
#include "caerr.h"
#define epicsExportSharedSymbols
#include "rsrv.h"
#include "server.h"
/*

View File

@@ -31,6 +31,8 @@
typedef unsigned long arrayElementCount;
#include "net_convert.h"
#define epicsExportSharedSymbols
#include "server.h"
/*

View File

@@ -39,9 +39,10 @@
#include "dbEvent.h"
#include "dbCommon.h"
#define epicsExportSharedSymbols
#include "rsrv.h"
#define GLBLSOURCE
#include "server.h"
#include "rsrv.h"
#define DELETE_TASK(NAME)\
if(threadNameToId(NAME)!=0)threadDestroy(threadNameToId(NAME));

View File

@@ -46,7 +46,9 @@
#include "envDefs.h"
#include "freeList.h"
#define epicsExportSharedSymbols
#include "server.h"
#include "rsrv.h"
#define TIMEOUT 60.0 /* sec */

View File

@@ -35,6 +35,7 @@
#include "addrList.h"
#include "taskwd.h"
#define epicsExportSharedSymbols
#include "server.h"
/*

View File

@@ -18,7 +18,8 @@
#define INCLserverh
#ifdef epicsExportSharedSymbols
# error suspect that libCom is being exported from rsrv?
# define rsrvRestore_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif /* ifdef epicsExportSharedSymbols */
#include "epicsThread.h"
@@ -34,8 +35,9 @@
#include "epicsTime.h"
#include "epicsAssert.h"
#ifdef rsrvRestore_epicsExportSharedSymbols
#define epicsExportSharedSymbols
#include "rsrv.h"
#endif
#define LOCAL static
@@ -70,6 +72,8 @@ struct message_buffer {
enum messageBufferType type;
};
extern epicsThreadPrivateId rsrvCurrentClient;
typedef struct client {
ELLNODE node;
struct message_buffer send;