summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_message_parse_next.c
blob: a7bbce61e97abe63b80f1cdaf47f6d0e90a880c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <errno.h>
#include <s6-dns/s6dns-message.h>

unsigned int s6dns_message_parse_next (s6dns_message_counts_t *counts, s6dns_message_rr_t const *rr, char const *packet, unsigned int packetlen, unsigned int *pos)
{
  *pos += rr->rdlength ;
  (void)packet ; (void)packetlen ;
  return s6dns_message_counts_next(counts) ;
}