Changeset View
Changeset View
Standalone View
Standalone View
g10/packet.h
Context not available. | |||||
int free_last_pkt; /* Indicates that LAST_PKT must be freed. */ | int free_last_pkt; /* Indicates that LAST_PKT must be freed. */ | ||||
int skip_meta; /* Skip ring trust packets. */ | int skip_meta; /* Skip ring trust packets. */ | ||||
unsigned int n_parsed_packets; /* Number of parsed packets. */ | unsigned int n_parsed_packets; /* Number of parsed packets. */ | ||||
int sigs_only; /* Only accept detached signature packets */ | |||||
}; | }; | ||||
typedef struct parse_packet_ctx_s *parse_packet_ctx_t; | typedef struct parse_packet_ctx_s *parse_packet_ctx_t; | ||||
Context not available. | |||||
(a)->free_last_pkt = 0; \ | (a)->free_last_pkt = 0; \ | ||||
(a)->skip_meta = 0; \ | (a)->skip_meta = 0; \ | ||||
(a)->n_parsed_packets = 0; \ | (a)->n_parsed_packets = 0; \ | ||||
(a)->sigs_only = 0; \ | |||||
} while (0) | } while (0) | ||||
#define deinit_parse_packet(a) do { \ | #define deinit_parse_packet(a) do { \ | ||||
Context not available. |