#define STATEFILE_MAGIC
#define STATEFILE_OLD_VERSION 1U
#define STATEFILE_VERSION 2U
typedef enum {...} statefile_tag_t
| enum | |
| { | |
| STATEFILE_TAG_IROFFER_VERSION; | |
| STATEFILE_TAG_TIMESTAMP; | |
| STATEFILE_TAG_XFR_RECORD; | |
| STATEFILE_TAG_SENT_RECORD; | |
| STATEFILE_TAG_TOTAL_SENT; | |
| STATEFILE_TAG_TOTAL_UPTIME; | |
| STATEFILE_TAG_LAST_LOGROTATE; | |
| STATEFILE_TAG_IGNORE; | compound |
| STATEFILE_TAG_IGNORE_FLAGS; | |
| STATEFILE_TAG_IGNORE_BUCKET; | |
| STATEFILE_TAG_IGNORE_LASTCONTACT; | |
| STATEFILE_TAG_IGNORE_HOSTMASK; | |
| STATEFILE_TAG_MSGLOG; | compound |
| STATEFILE_TAG_MSGLOG_WHEN; | |
| STATEFILE_TAG_MSGLOG_HOSTMASK; | |
| STATEFILE_TAG_MSGLOG_MESSAGE; | |
| STATEFILE_TAG_XDCCS; | compound |
| STATEFILE_TAG_XDCCS_FILE; | |
| STATEFILE_TAG_XDCCS_DESC; | |
| STATEFILE_TAG_XDCCS_NOTE; | |
| STATEFILE_TAG_XDCCS_GETS; | |
| STATEFILE_TAG_XDCCS_MINSPEED; | |
| STATEFILE_TAG_XDCCS_MAXSPEED; | |
| STATEFILE_TAG_XDCCS_MD5SUM_INFO; | |
| STATEFILE_TAG_XDCCS_GROUP; | |
| STATEFILE_TAG_XDCCS_GROUP_DESC; | |
| STATEFILE_TAG_XDCCS_LOCK; | |
| STATEFILE_TAG_XDCCS_DLIMIT_MAX; | |
| STATEFILE_TAG_XDCCS_DLIMIT_USED; | |
| STATEFILE_TAG_XDCCS_DLIMIT_DESC; | |
| STATEFILE_TAG_XDCCS_CRC32; | |
| STATEFILE_TAG_XDCCS_TRIGGER; | |
| STATEFILE_TAG_XDCCS_XTIME; | |
| STATEFILE_TAG_XDCCS_COLOR; | |
| STATEFILE_TAG_TLIMIT_DAILY_USED; | |
| STATEFILE_TAG_TLIMIT_DAILY_ENDS; | |
| STATEFILE_TAG_TLIMIT_WEEKLY_USED; | |
| STATEFILE_TAG_TLIMIT_WEEKLY_ENDS; | |
| STATEFILE_TAG_TLIMIT_MONTHLY_USED; | |
| STATEFILE_TAG_TLIMIT_MONTHLY_ENDS; | |
| STATEFILE_TAG_QUEUE; | |
| STATEFILE_TAG_QUEUE_PACK; | |
| STATEFILE_TAG_QUEUE_NICK; | |
| STATEFILE_TAG_QUEUE_HOST; | |
| STATEFILE_TAG_QUEUE_TIME; | |
| STATEFILE_TAG_QUEUE_NET; | |
| } |
| struct | |
| { | |
| statefile_tag_t tag; | |
| ir_uint32 length; | includes header |
| } |
| struct | |
| { | |
| ir_uint32 upper; | |
| ir_uint32 lower; | |
| } |
| struct | |
| { | |
| statefile_hdr_t hdr; | |
| ir_int32 g_int; | |
| } |
| struct | |
| { | |
| statefile_hdr_t hdr; | |
| ir_uint32 g_uint; | |
| } |
| See: | Typedef statefile_item_generic_uint_t |
| struct | |
| { | |
| statefile_hdr_t hdr; | |
| statefile_uint64_t g_llint; | |
| } |
| struct | |
| { | |
| statefile_hdr_t hdr; | |
| float g_float; | |
| } |
| struct | |
| { | |
| statefile_hdr_t hdr; | |
| statefile_uint64_t st_size; | |
| statefile_uint64_t st_dev; | |
| statefile_uint64_t st_ino; | |
| ir_int32 mtime; | |
| MD5Digest md5sum; | |
| } |
| struct | |
| { | |
| statefile_hdr_t hdr; | |
| statefile_uint64_t st_size; | |
| statefile_uint64_t st_dev; | |
| statefile_uint64_t st_ino; | |
| statefile_uint64_t mtime; | |
| MD5Digest md5sum; | |
| } |
| Included from: | src/dinoex_statefile.c | |
| Calls: | create_statefile_hdr() | src/iroffer_statefile.c |
| __bswap32() | ||
| Called by: | prepare_statefile_int() | src/iroffer_statefile.c |
| write_statefile_int() | src/iroffer_statefile.c | |
| Included from: | src/dinoex_statefile.c | |
| Calls: | __bswap32() | |
| Called by: | read_statefile_md5info() | src/iroffer_statefile.c |
| read_statefile_time() | src/iroffer_statefile.c | |
| Included from: | src/dinoex_statefile.c | |
| Calls: | __bswap32() | |
| Called by: | write_statefile_llint() | src/iroffer_statefile.c |
| write_statefile_xdccs() | src/iroffer_statefile.c | |
| Included from: | src/dinoex_statefile.c | |
| Calls: | MD5Final() | src/plumb_md5.c |
| mydelete2() | src/iroffer_utilities.c | |
| Called by: | write_statefile() | src/iroffer_statefile.c |
| Included from: | src/dinoex_statefile.c | |
| Calls: | MD5Init() | src/plumb_md5.c |
| mymalloc2() | src/iroffer_utilities.c | |
| Called by: | write_statefile() | src/iroffer_statefile.c |
| Included from: | src/dinoex_statefile.c | |
| Calls: | create_statefile_float() | src/iroffer_statefile.c |
| Called by: | write_statefile_xdccs() | src/iroffer_statefile.c |
| Included from: | src/dinoex_statefile.c | |
| Calls: | ioutput() | src/iroffer_utilities.c |
| read_statefile_bad_tag() | src/iroffer_statefile.c | |
| Called by: | read_statefile() | src/iroffer_statefile.c |
| References Variables: | gdata | src/dinoex_main.c |
| Included from: | src/dinoex_statefile.c | |
| Calls: | read_statefile_bad_tag() | src/iroffer_statefile.c |
| Called by: | read_statefile() | src/iroffer_statefile.c |
| Included from: | src/dinoex_statefile.c | |
| Calls: | outerror() | src/iroffer_utilities.c |
| Called by: | read_statefile() | src/iroffer_statefile.c |
| Included from: | src/dinoex_statefile.c | |
| Calls: | read_statefile_bad_tag() | src/iroffer_statefile.c |
| __bswap32() | ||
| Called by: | read_statefile() | src/iroffer_statefile.c |
| read_statefile_queue() | src/iroffer_statefile.c | |
| Calls: | outerror() | src/iroffer_utilities.c |
| __bswap32() | ||
| Called by: | read_statefile() | src/iroffer_statefile.c |
| Included from: | src/dinoex_statefile.c | |
| Calls: | ioutput() | src/iroffer_utilities.c |
| mydelete2() | src/iroffer_utilities.c | |
| read_statefile_bad_tag() | src/iroffer_statefile.c | |
| sizestr() | src/dinoex_utilities.c | |
| __bswap32() | ||
| Called by: | read_statefile() | src/iroffer_statefile.c |
| References Variables: | gdata | src/dinoex_main.c |
| Included from: | src/dinoex_statefile.c | |
| Calls: | read_statefile_bad_tag() | src/iroffer_statefile.c |
| __bswap32() | ||
| Called by: | read_statefile() | src/iroffer_statefile.c |
| Included from: | src/dinoex_statefile.c | |
| Calls: | fix_time64() | src/iroffer_statefile.c |
| read_statefile_bad_tag() | src/iroffer_statefile.c | |
| __bswap32(), memcpy() | ||
| Called by: | read_statefile() | src/iroffer_statefile.c |
| Included from: | src/dinoex_statefile.c | |
| Calls: | outerror() | src/iroffer_utilities.c |
| Called by: | read_statefile() | src/iroffer_statefile.c |
| read_statefile_queue() | src/iroffer_statefile.c | |
| Included from: | src/dinoex_statefile.c | |
| Calls: | write_statefile_md5() | src/iroffer_statefile.c |
| __bswap32() | ||
| Called by: | write_statefile() | src/iroffer_statefile.c |
| Included from: | src/dinoex_statefile.c | |
| Calls: | outerror() | src/iroffer_utilities.c |
| __error(), strerror(), write() | ||
| Called by: | write_statefile() | src/iroffer_statefile.c |
| write_statefile_md5() | src/iroffer_statefile.c | |