Skip to content
Permalink
9c8b7aa04e
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
23 lines (20 sloc) 590 Bytes
/* Copyright (c) 2008, UNINETT AS
* Copyright (c) 2010, NORDUnet A/S */
/* See LICENSE for licensing information. */
struct tlv {
uint8_t t;
uint8_t l;
uint8_t *v;
};
struct tlv *maketlv(uint8_t, uint8_t, void *);
struct tlv *copytlv(struct tlv *);
void freetlv(struct tlv *);
int eqtlv(struct tlv *, struct tlv *);
struct list *copytlvlist(struct list *);
void freetlvlist(struct list *);
void rmtlv(struct list *, uint8_t);
uint8_t *tlv2str(struct tlv *tlv);
struct tlv *resizetlv(struct tlv *, uint8_t);
/* Local Variables: */
/* c-file-style: "stroustrup" */
/* End: */