|
|
1.1 ! root 1: #include "quipu/util.h" ! 2: #include "quipu/name.h" ! 3: ! 4: extern LLog * log_dsap; ! 5: ! 6: dn_append (a,b) ! 7: DN a,b; ! 8: { ! 9: register DN ptr; ! 10: register DN eptr; ! 11: ! 12: if (a == NULLDN) ! 13: DLOG (log_dsap,LLOG_DEBUG,("appending to null dn!")); ! 14: else { ! 15: for (eptr = a; eptr != NULLDN; eptr = eptr->dn_parent) ! 16: ptr = eptr; ! 17: ptr->dn_parent = b; ! 18: } ! 19: } ! 20:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.