mirror of
				https://github.com/optim-enterprises-bv/nDPId.git
				synced 2025-10-30 17:57:48 +00:00 
			
		
		
		
	Extended analyse application to write global stats to a CSV.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
		| @@ -391,7 +391,7 @@ if(BUILD_EXAMPLES) | |||||||
|  |  | ||||||
|     add_executable(nDPIsrvd-analysed examples/c-analysed/c-analysed.c utils.c) |     add_executable(nDPIsrvd-analysed examples/c-analysed/c-analysed.c utils.c) | ||||||
|     target_compile_definitions(nDPIsrvd-analysed PRIVATE ${NDPID_DEFS}) |     target_compile_definitions(nDPIsrvd-analysed PRIVATE ${NDPID_DEFS}) | ||||||
|     target_include_directories(nDPIsrvd-analysed PRIVATE ${NDPID_DEPS_INC}) |     target_include_directories(nDPIsrvd-analysed PRIVATE "${STATIC_LIBNDPI_INC}" "${NDPID_DEPS_INC}") | ||||||
|  |  | ||||||
|     add_executable(nDPIsrvd-simple examples/c-simple/c-simple.c) |     add_executable(nDPIsrvd-simple examples/c-simple/c-simple.c) | ||||||
|     target_compile_definitions(nDPIsrvd-simple PRIVATE ${NDPID_DEFS}) |     target_compile_definitions(nDPIsrvd-simple PRIVATE ${NDPID_DEFS}) | ||||||
|   | |||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										4
									
								
								utils.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								utils.c
									
									
									
									
									
								
							| @@ -1,5 +1,3 @@ | |||||||
| #include "utils.h" |  | ||||||
|  |  | ||||||
| #include <errno.h> | #include <errno.h> | ||||||
| #include <fcntl.h> | #include <fcntl.h> | ||||||
| #include <grp.h> | #include <grp.h> | ||||||
| @@ -15,6 +13,8 @@ | |||||||
| #include <sys/types.h> | #include <sys/types.h> | ||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
|  |  | ||||||
|  | #include "utils.h" | ||||||
|  |  | ||||||
| typedef char pid_str[16]; | typedef char pid_str[16]; | ||||||
|  |  | ||||||
| static char const * app_name = NULL; | static char const * app_name = NULL; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Toni Uhlig
					Toni Uhlig