mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-21 19:00:54 +00:00
* GSWAdaptors/common/GSWApp.h (GSWApp_New, GSWAppInfo_Init):
Correct prototype. * GSWAdaptors/common/GSWConfig.h (GSWConfig_GetConfig) (GSWConfig_CanDumpStatus, GSWConfig_AddTimeHeaders) (GSWConfig_IsDebug, GSWConfig_IsReaden) (GSWConfig_GetConfigFilePath, GSWConfig_AdaptorBuilt) (GSWConfig_ServerStringInfo, g_szGSWeb_AdaptorStringInfo) (GSWConfig_ServerURL, g_szGSWeb_AdaptorURL): Ditto. * GSWAdaptors/common/GSWString.h (GSWString_New): Ditto. * GSWAdaptors/common/GSWUtil.h (GSWTime_now) (GSWUtil_ClearHostCache): Ditto. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21229 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
81efc31c12
commit
003294dcf7
5 changed files with 28 additions and 16 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,5 +1,17 @@
|
|||
2005-05-16 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* GSWAdaptors/common/GSWApp.h (GSWApp_New, GSWAppInfo_Init):
|
||||
Correct prototype.
|
||||
* GSWAdaptors/common/GSWConfig.h (GSWConfig_GetConfig)
|
||||
(GSWConfig_CanDumpStatus, GSWConfig_AddTimeHeaders)
|
||||
(GSWConfig_IsDebug, GSWConfig_IsReaden)
|
||||
(GSWConfig_GetConfigFilePath, GSWConfig_AdaptorBuilt)
|
||||
(GSWConfig_ServerStringInfo, g_szGSWeb_AdaptorStringInfo)
|
||||
(GSWConfig_ServerURL, g_szGSWeb_AdaptorURL): Ditto.
|
||||
* GSWAdaptors/common/GSWString.h (GSWString_New): Ditto.
|
||||
* GSWAdaptors/common/GSWUtil.h (GSWTime_now)
|
||||
(GSWUtil_ClearHostCache): Ditto.
|
||||
|
||||
* GSWAdaptors/Apache/configure.ac: Only add to CPPFLAGS if
|
||||
ac_x_includes is set and only add LDFLAGS if ac_x_libraries
|
||||
set. Refer to variables in consistent form.
|
||||
|
|
|
@ -52,7 +52,7 @@ typedef struct _GSWAppInstance
|
|||
} GSWAppInstance;
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
GSWApp *GSWApp_New();
|
||||
GSWApp *GSWApp_New(void);
|
||||
void GSWApp_Free(GSWApp *p_pApp);
|
||||
void GSWApp_FreeNotValidInstances(GSWApp *p_pApp);
|
||||
void GSWApp_AppsClearInstances(GSWDict *p_pAppsDict);
|
||||
|
@ -74,7 +74,7 @@ typedef struct _GSWAppInfo
|
|||
|
||||
static GSWDict *_gswAppInfoDict = NULL;
|
||||
|
||||
void GSWAppInfo_Init();
|
||||
void GSWAppInfo_Init(void);
|
||||
GSWAppInfo *GSWAppInfo_Find(char *pszName,int iInstance);
|
||||
void GSWAppInfo_Add(GSWAppInfo *appInfoDict, CONST char *keyName);
|
||||
void GSWAppInfo_Set(char *pszName, int iInstance, BOOL isRefused);
|
||||
|
|
|
@ -125,12 +125,12 @@ proplist_t GSWConfig_ApplicationsKeysFromApplications(proplist_t p_propListAppli
|
|||
proplist_t GSWConfig_ApplicationsKeysFromConfig(proplist_t p_propListConfig,
|
||||
void *p_pLogServerData);
|
||||
|
||||
GSWConfig *GSWConfig_GetConfig();
|
||||
BOOL GSWConfig_CanDumpStatus();
|
||||
BOOL GSWConfig_AddTimeHeaders();
|
||||
BOOL GSWConfig_IsDebug();
|
||||
BOOL GSWConfig_IsReaden();
|
||||
CONST char *GSWConfig_GetConfigFilePath();
|
||||
GSWConfig *GSWConfig_GetConfig(void);
|
||||
BOOL GSWConfig_CanDumpStatus(void);
|
||||
BOOL GSWConfig_AddTimeHeaders(void);
|
||||
BOOL GSWConfig_IsDebug(void);
|
||||
BOOL GSWConfig_IsReaden(void);
|
||||
CONST char *GSWConfig_GetConfigFilePath(void);
|
||||
void GSWConfig_SetConfigFilePath(CONST char *p_pszConfigFilePath);
|
||||
GSWString *GSWConfig_DumpGSWApps(const char *p_pszReqApp,
|
||||
const char *p_pszPrefix,
|
||||
|
@ -140,11 +140,11 @@ GSWString *GSWConfig_DumpGSWApps(const char *p_pszReqApp,
|
|||
void GSWConfig_Init(GSWDict *p_pDict,
|
||||
void *p_pLogServerData);
|
||||
GSWApp *GSWConfig_GetApp(CONST char *p_pszAppName);
|
||||
CONST char *GSWConfig_AdaptorBuilt();
|
||||
CONST char *GSWConfig_ServerStringInfo();
|
||||
CONST char *g_szGSWeb_AdaptorStringInfo();
|
||||
CONST char *GSWConfig_ServerURL();
|
||||
CONST char *g_szGSWeb_AdaptorURL();
|
||||
CONST char *GSWConfig_AdaptorBuilt(void);
|
||||
CONST char *GSWConfig_ServerStringInfo(void);
|
||||
CONST char *g_szGSWeb_AdaptorStringInfo(void);
|
||||
CONST char *GSWConfig_ServerURL(void);
|
||||
CONST char *g_szGSWeb_AdaptorURL(void);
|
||||
|
||||
#endif // _GSWConfig_h__
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ typedef struct _GSWString
|
|||
char *pszData;
|
||||
} GSWString;
|
||||
|
||||
GSWString *GSWString_New();
|
||||
GSWString *GSWString_New(void);
|
||||
int GSWString_Len(GSWString *p_pString);
|
||||
void GSWString_Free(GSWString *p_pString);
|
||||
void GSWString_Detach(GSWString *p_pString);
|
||||
|
|
|
@ -68,7 +68,7 @@ typedef long long GSWTime; // usec since Epoch
|
|||
#define USEC_PER_SEC ((GSWTime)1000000)
|
||||
#define GSWTime_makeTimeFromSecAndUSec(sec,usec) ((GSWTime)(sec)*USEC_PER_SEC+(GSWTime)(usec))
|
||||
|
||||
GSWTime GSWTime_now();
|
||||
GSWTime GSWTime_now(void);
|
||||
char* GSWTime_format(char *date_str,GSWTime t); // yyyy/mm/dd hh:mm:ss.msec
|
||||
time_t GSWTime_secPart(GSWTime t);
|
||||
long GSWTime_usecPart(GSWTime t);
|
||||
|
@ -164,7 +164,7 @@ char *strcasestr(CONST char *p_pszString, CONST char *p_pszSearchedString);
|
|||
typedef struct hostent *PSTHostent;
|
||||
|
||||
PSTHostent GSWUtil_HostLookup(CONST char *p_pszHost, void *p_pLogServerData);
|
||||
void GSWUtil_ClearHostCache();
|
||||
void GSWUtil_ClearHostCache(void);
|
||||
PSTHostent GSWUtil_FindHost(CONST char *p_pszHost, void *p_pLogServerData);
|
||||
|
||||
//====================================================================
|
||||
|
|
Loading…
Reference in a new issue