Changeset 1:bafb831ba688 in freeDiameter for libfreeDiameter
- Timestamp:
- Aug 31, 2009, 11:31:10 AM (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libfreeDiameter
- Files:
-
- 8 moved
Legend:
- Unmodified
- Added
- Removed
-
libfreeDiameter/CMakeLists.txt
r0 r1 1 1 # Name of the subproject 2 Project("libfree diameter" C)2 Project("libfreeDiameter" C) 3 3 4 4 SET(PROJECT_COPYRIGHT "Copyright (c) 2008-2009, WIDE Project (www.wide.ad.jp) and NICT (www.nict.go.jp)") … … 6 6 # List of source files for the library 7 7 SET(LFD_SRC 8 libf d.h8 libfD.h 9 9 init.c 10 10 log.c … … 16 16 17 17 # Build as a shared library 18 ADD_LIBRARY(libfree diameter SHARED ${LFD_SRC})18 ADD_LIBRARY(libfreeDiameter SHARED ${LFD_SRC}) 19 19 20 20 # Avoid the liblib name 21 SET_TARGET_PROPERTIES(libfree diameter PROPERTIES OUTPUT_NAME "freediameter")21 SET_TARGET_PROPERTIES(libfreeDiameter PROPERTIES OUTPUT_NAME "freeDiameter") 22 22 23 23 # The library itself needs other libraries 24 TARGET_LINK_LIBRARIES(libfree diameter ${FD_LIBS})24 TARGET_LINK_LIBRARIES(libfreeDiameter ${FD_LIBS}) 25 25 -
libfreeDiameter/dictionary.c
r0 r1 34 34 *********************************************************************************************************/ 35 35 36 #include "libf d.h"36 #include "libfD.h" 37 37 38 38 /* Names of the base types */ … … 1290 1290 /*******************************************************************************************************/ 1291 1291 1292 /* These are the functions exported outside libfree diameter. */1292 /* These are the functions exported outside libfreeDiameter. */ 1293 1293 1294 1294 /* Get the data associated to an object */ -
libfreeDiameter/init.c
r0 r1 34 34 *********************************************************************************************************/ 35 35 36 #include "libf d.h"36 #include "libfD.h" 37 37 38 38 int fd_lib_init(void) … … 43 43 ret = pthread_key_create(&fd_log_thname, free); 44 44 if (ret != 0) { 45 fprintf(stderr, "Error initializing the libfree diameter library: %s\n", strerror(ret) );45 fprintf(stderr, "Error initializing the libfreeDiameter library: %s\n", strerror(ret) ); 46 46 return ret; 47 47 } -
libfreeDiameter/libfD.h
r0 r1 34 34 *********************************************************************************************************/ 35 35 36 /* This file contains the definitions for internal use in the libfree diameter library */36 /* This file contains the definitions for internal use in the libfreeDiameter library */ 37 37 38 38 #ifndef _LIBFD_H 39 39 #define _LIBFD_H 40 40 41 #include <free diameter/freediameter-host.h>42 #include <free diameter/libfreediameter.h>41 #include <freeDiameter/freeDiameter-host.h> 42 #include <freeDiameter/libfreeDiameter.h> 43 43 44 44 /* Internal to the library */ … … 47 47 48 48 49 50 49 #endif /* _LIBFD_H */ -
libfreeDiameter/lists.c
r0 r1 34 34 *********************************************************************************************************/ 35 35 36 #include "libf d.h"36 #include "libfD.h" 37 37 38 38 /* Initialize a list element */ -
libfreeDiameter/log.c
r0 r1 34 34 *********************************************************************************************************/ 35 35 36 #include "libf d.h"36 #include "libfD.h" 37 37 38 38 #include <stdarg.h> -
libfreeDiameter/messages.c
r0 r1 39 39 */ 40 40 41 #include "libf d.h"41 #include "libfD.h" 42 42 43 43 #include <sys/param.h> -
libfreeDiameter/mqueues.c
r0 r1 46 46 */ 47 47 48 #include "libf d.h"48 #include "libfD.h" 49 49 50 50 /* Definition of a message queue object */ … … 59 59 int thrs; /* number of threads waiting for a new message (when count is 0) */ 60 60 61 uint16_t high; /* High level threshold (see libfree diameter.h for details) */61 uint16_t high; /* High level threshold (see libfreeDiameter.h for details) */ 62 62 uint16_t low; /* Low level threshhold */ 63 63 void *data; /* Opaque pointer for threshold callbacks */
Note: See TracChangeset
for help on using the changeset viewer.