Changeset 1159:05f74dc19c49 in freeDiameter for libfdcore/core.c
- Timestamp:
- May 31, 2013, 12:20:27 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/core.c
r1142 r1159 166 166 /* Public interfaces */ 167 167 168 /* Return a string describing the version of the library */169 const char *fd_core_version(void)170 {171 return _stringize(FD_PROJECT_VERSION_MAJOR) "." _stringize(FD_PROJECT_VERSION_MINOR) "." _stringize(FD_PROJECT_VERSION_REV);172 }173 174 168 /* Initialize the libfdcore internals. This also initializes libfdproto */ 175 169 int fd_core_initialize(void) … … 189 183 } 190 184 191 LOG_N("libfdproto initialized.");192 193 185 /* Name this thread */ 194 186 fd_log_threadname("Main"); 187 188 LOG_N("libfdproto '%s' initialized.", fd_libproto_version); 195 189 196 190 /* Initialize gcrypt and gnutls */ … … 227 221 core_state_set(CORE_LIBS_INIT); 228 222 223 LOG_N("libfdcore '%s' initialized.", fd_core_version); 224 225 229 226 /* Next thing is to parse the config, leave this for a different function */ 230 227 return 0;
Note: See TracChangeset
for help on using the changeset viewer.