summaryrefslogtreecommitdiff
path: root/usr.bin/ldap/ber.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2018-06-29 11:45:51 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2018-06-29 11:45:51 +0000
commit267e3b2f28ab6cce44177df6d68069f25b7a902a (patch)
tree3bbee256efc4d87b6d0aa97418bb1ed83d3f1fae /usr.bin/ldap/ber.c
parentc1d92d65d7ba2ca2fd0453934758fcf0d8551db8 (diff)
Prepare the ground for allowing temporary aspath object living on the stack.
To do this path_copy() gets a second argument (dst, src) and a new function path_prep() is introduced to initialize an aspath object. The current path_copy() usage is replaced with path_copy(path_get(), asp) which does the same. Additionally some const where added to the *_copy functions to make it more obvious which is the source and target. Also the pftable_ref() and rtlabel_ref() functions return now the id instead of void. OK sthen@
Diffstat (limited to 'usr.bin/ldap/ber.c')
0 files changed, 0 insertions, 0 deletions