aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_common.h
Commit message (Collapse)AuthorAge
* adding API for short (256-bit) hash codesChristian Grothoff2012-03-19
|
* LRN: Enforce GCC bitfield layout for some structs on W32Christian Grothoff2012-02-29
|
* -version bumps in anticipation of releaseChristian Grothoff2012-02-27
|
* TG: attached are the following patches for GNUnet:Christian Grothoff2012-02-23
| | | | | | | | | | | | | | | - 1: added GNUNET_i2s_full - full variant of GNUNET_i2s - 2: GNUNET_CRYPTO_hash_from_string2 with additional length parameter, useful to prevent an additional strlen call when the caller already knows the length - 3: custom mst callbacks for the server, enables using the server with a custom parser - 4: added GNUNET_SERVER_client_set_finish_pending_write - enables changing the server behavior to finish pending writes when closing the connection Best regards, Gabor Adam Toth
* -add missing parensChristian Grothoff2012-02-01
|
* Let the compiler not include debug strings in binary when make is not ↵Bart Polot2012-02-01
| | | | configured with verbose
* -barato's byte order patch, might even help with #2130Christian Grothoff2012-02-01
|
* -ughChristian Grothoff2012-01-30
|
* -fix endian testChristian Grothoff2012-01-30
|
* -doxygen fixesChristian Grothoff2012-01-25
|
* use noreturn macro for GNUNET_abort to help gcc and othersChristian Grothoff2012-01-23
|
* -docuChristian Grothoff2012-01-05
|
* -version bumps for releaseChristian Grothoff2011-12-26
|
* fixing 2012: network structure alignment now forced to be correct even on ↵Christian Grothoff2011-12-21
| | | | W32 using #pragma pack from gcc 4.x
* -fixMatthias Wachs2011-12-07
|
* eliminating last dependency on util code from wlan helper by inliningChristian Grothoff2011-12-06
|
* adding GNUnet endian operationsMatthias Wachs2011-12-06
|
* use uint64_t instead of long long for GNUNET_ntohll/GNUNET_htonllChristian Grothoff2011-12-06
|
* -fixing minor typos, version bumpChristian Grothoff2011-11-30
|
* introducing GNUNET_UNUSED macro instead of hard-coding gcc attribute all ↵Christian Grothoff2011-11-28
| | | | over the place; also some further documentation fixes
* introducing GNUNET_abortChristian Grothoff2011-11-05
|
* LRN: cosmeticsChristian Grothoff2011-11-05
|
* curly wars / auto-indentationChristian Grothoff2011-11-04
|
* reading for distingChristian Grothoff2011-10-30
|
* log from macrosChristian Grothoff2011-10-10
|
* LRN: Small janitor fixesChristian Grothoff2011-10-07
| | | | | | | | * Prevent janitor from failing if a process can't be killed (it might be dead by the time janitor gets around to killing it). * Fix janitor messages about killing arm/non-arm processes
* LRN's big logging rewrite (#1805):Christian Grothoff2011-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * GNUNET_BOTTOM_LOGLEVEL and GNUNET_TOP_LOGLEVEL set global levels Use bottom level to force logging to be more verbose than configured Use top level to force logging to be less verbose than configured Obviously, bottom <= top * GNUNET_LOG sets per-component levels GNUNET_LOG looks like this: name[/bottom[/top]]/... name starts with a non-digit character, must not include '/' bottom and top must consist only of digits, or be empty a description is only used if it matches the component exactly as a special exception (for now) the name '*' matches any component per-component loglevels override global loglevels global levels override whatever is given via arguments or in config Examples: test_client/8/8/ run test_client with DEBUG level (usually leads to a timeout, by the way) */2/2/core/8/8/transport/4/4 run everything with WARNING, core - with DEBUG, transport - with INFO *//1/peerinfo/4/ run everything with top loglevel ERROR, global/configured bottom loglevel, and peerinfo - with bottom loglevel INFO and global/configured top loglevel statistics/ does nothing * Added GNUNET_ERROR_TYPE_UNSPECIFIED enum value, to hold -1. Its corresponding string is NULL. * Changed the logger calls as Grothoff suggested - to use static int to hold the result of runtime evaluation of logability. Logging can be unconditionally disabled in advance by defining GNUNET_LOG_CALL_STATUS to 0, and enabled in advance by defining it to 1. * Added GNUNET_CULL_LOGGING, which, if defined, completely culls out all logging calls at compile time. * Log definition parsing is only done once, results are cached. * Changed definition format, now it looks like this: [component|*|];[file|*|];[function|*|];[from_line[-to_line]];level/[component...] All field separators are mandatory (but some fields could be empty or be '*'). Line definition must be either empty or "number" or "number-number" Level definition must not be empty, and is a string representation of the level (i.e. DEBUG, WARNING, INFO, etc). Definition entry must end with a slash, whether or not there's another entry after it. File name is matched to the end of __FILE__, which allows file name to match not only the base name, but also directories leading to it. * Removed default WARNING loglevel from program and service utility code. Now they default to NULL (UNSPECIFIED) level, which can be overriden by GNUNET_LOG definition, if no level is specified via config or commandline. Log levels from config or commandline are overriden by GNUNET_FORCE_LOG. If GNUNET_*LOG are undefined, and no levels came from config or commandline, logger internally defaults to WARNING level. Add --enable-logging configure option
* breaking stuffChristian Grothoff2011-09-02
|
* run indent twice, it alternates between two 'canonical' forms, also run ↵Christian Grothoff2011-08-29
| | | | whitespace remover
* even nicer indentation, thanks to LRN's indent patchChristian Grothoff2011-08-16
|
* indentationChristian Grothoff2011-08-15
|
* indentationChristian Grothoff2011-08-15
|
* strndupChristian Grothoff2011-08-10
|
* bumpChristian Grothoff2011-06-10
|
* indentingChristian Grothoff2011-01-26
|
* memdupChristian Grothoff2010-11-24
|
* LRN patch from Mantis #1615Christian Grothoff2010-11-05
|
* stdargChristian Grothoff2010-10-29
|
* W32 porting work by LRNChristian Grothoff2010-09-08
|
* nitpicksChristian Grothoff2010-09-01
|
* h2s_full, useful for testingNathan S. Evans2010-07-30
|
* check for headers at least conditionally, also for MinGWChristian Grothoff2010-06-05
|
* check for headers at least conditionallyChristian Grothoff2010-06-05
|
* move platform specific stuff to platform.hNils Durner2010-06-05
|
* fixChristian Grothoff2010-06-02
|
* fixesChristian Grothoff2010-04-30
|
* stuffChristian Grothoff2010-03-24
|
* stuff for jiluChristian Grothoff2009-12-03
|
* better commentsChristian Grothoff2009-10-08
|
* improving style and docsChristian Grothoff2009-09-25
|