Changeset 1:bafb831ba688 in freeDiameter for freeDiameter
- Timestamp:
- Aug 31, 2009, 11:31:10 AM (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- freeDiameter
- Files:
-
- 9 moved
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/CMakeLists.txt
r0 r1 1 1 # The subproject name 2 Project("free diameterd" C)2 Project("freeDiameterd" C) 3 3 4 4 SET(PROJECT_VERSION 0.1) … … 7 7 # List of source files 8 8 SET(FD_COMMON_SRC 9 f d.h9 fD.h 10 10 dict_base_proto.c 11 11 ) 12 12 13 13 # Building the executable 14 ADD_EXECUTABLE(free diameterd ${FD_COMMON_SRC} main.c)14 ADD_EXECUTABLE(freeDiameterd ${FD_COMMON_SRC} main.c) 15 15 16 16 # The link command 17 LINK_DIRECTORIES(${CURRENT_BINARY_DIR}/../libfree diameter)18 TARGET_LINK_LIBRARIES(free diameterd libfreediameter ${FD_LIBS})17 LINK_DIRECTORIES(${CURRENT_BINARY_DIR}/../libfreeDiameter) 18 TARGET_LINK_LIBRARIES(freeDiameterd libfreeDiameter ${FD_LIBS}) 19 19 20 20 # The unary tests directory -
freeDiameter/dict_base_proto.c
r0 r1 37 37 */ 38 38 39 #include "f d.h"39 #include "fD.h" 40 40 41 41 #include <netinet/in.h> -
freeDiameter/fD.h
r0 r1 34 34 *********************************************************************************************************/ 35 35 36 /* This file contains the definitions for internal use in the free diameter daemon */36 /* This file contains the definitions for internal use in the freeDiameter daemon */ 37 37 38 38 #ifndef _FD_H 39 39 #define _FD_H 40 40 41 #include <free diameter/freediameter-host.h>42 #include <free diameter/freediameter.h>41 #include <freeDiameter/freeDiameter-host.h> 42 #include <freeDiameter/freeDiameter.h> 43 43 44 44 /* Create all the dictionary objects defined in the Diameter base RFC. */ -
freeDiameter/main.c
r0 r1 34 34 *********************************************************************************************************/ 35 35 36 #include "f d.h"36 #include "fD.h" 37 37 38 38 /* Entry point */ … … 54 54 fd_dict_dump(fd_g_dict); 55 55 56 TRACE_DEBUG(INFO, " FreeDiameter daemon initialized.");56 TRACE_DEBUG(INFO, "freeDiameter daemon initialized."); 57 57 58 58 return 0; -
freeDiameter/tests/CMakeLists.txt
r0 r1 1 1 # Test directory 2 PROJECT("libfree diameter tests" C)2 PROJECT("libfreeDiameter tests" C) 3 3 4 4 # give the possibility to configure the timeout duration for the tests … … 35 35 # ENDFOREACH(SRC_FILE) 36 36 37 # Create an archive with the daemon common files 38 ADD_LIBRARY(f dcore STATIC ${TEST_COMMON_SRC})37 # Create an archive with the daemon common files (all but main) 38 ADD_LIBRARY(fDcore STATIC ${TEST_COMMON_SRC}) 39 39 40 40 … … 43 43 FOREACH( TEST ${TEST_LIST} ) 44 44 ADD_EXECUTABLE(${TEST} ${TEST}.c tests.h) 45 TARGET_LINK_LIBRARIES(${TEST} libfree diameter fdcore ${FD_LIBS})45 TARGET_LINK_LIBRARIES(${TEST} libfreeDiameter fDcore ${FD_LIBS}) 46 46 ADD_TEST(${TEST} ${EXECUTABLE_OUTPUT_PATH}/${TEST}) 47 47 ENDFOREACH( TEST ) -
freeDiameter/tests/testmq.c
r0 r1 36 36 #include "tests.h" 37 37 38 /* Structure for testing thre ashold function */38 /* Structure for testing threshold function */ 39 39 static struct thrh_test { 40 40 struct mqueue * queue; /* pointer to the queue */ -
freeDiameter/tests/tests.h
r0 r1 42 42 #define _TESTS_H 43 43 44 #include "f d.h"44 #include "fD.h" 45 45 46 46 #include <pthread.h>
Note: See TracChangeset
for help on using the changeset viewer.