summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_lookup.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11794: - fixed a valgrind error in libnet, caused by using a stack variableAndrew Tridgell1-6/+5
after the function has returned (the *address variable was assigned into the state). - changed libnet to use event_context_find() instead of event_context_init(), so it works as a child of existing code that uses a event context (This used to be commit 47ceb2d3558304b4c4fb00582fb25a885cea2ef5)
2007-10-10r11747: Move buffer allocation to libnet_Lookup function so that theRafal Szczesniak1-1/+6
caller is not required to ensure it. rafal (This used to be commit 85456e6c0b50540d9f6ae15a460148a328cf002c)
2007-10-10r10504: - seperate implementation specific stuff, from the generic compositeStefan Metzmacher1-4/+3
stuff. - don't use SMBCLI_REQUEST_* state's in the genreic composite stuff - move monitor_fn to libnet. NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR state in the _send() function. I haven't fixed this bugs in this commit! We may need some composite_trigger_*() functions or so. And maybe some other generic helper functions... metze (This used to be commit 4527815a0a9b96e460f301cb1f0c0b3964c166fc)
2007-10-10r8076: Put name resolution methods into libnet_context. This allows libnet basedRafal Szczesniak1-12/+26
application use methods of their own choice and makes it less dependent on smb.conf parameters. Use libnet_context in libnet_Lookup functions which is the way to pass default name resolution methods if caller doesn't want to bother with specifying them. rafal (This used to be commit d0ea136356bcb9c6c01120d8683b71e8689d5e5b)
2007-10-10r7816: Implementation of "shortcut" function for those (probably many) whoRafal Szczesniak1-0/+70
don't like to bother with netbios type names when looking for common types: hosts (servers) and domain controllers. Also, apropriate tests rafal (This used to be commit 50cd94be0f876a3463aa58b7e0898e6b3340c4c2)
2007-10-10r7748: Use state structure in connection with io to get returned address.Rafal Szczesniak1-2/+3
rafal (This used to be commit 345a71a08e74ddf959680615d51488f8e989cba1)
2007-10-10r7734: A few missing pieces...Rafal Szczesniak1-3/+4
rafal (This used to be commit 15e2a67fe08daa722c55cd3afd46e838eb653e22)
2007-10-10r7732: Implementation of very basic lookup function (to be used in moreRafal Szczesniak1-0/+95
specific routines like resolving a pdc). Also, couple of formatting fixes. rafal (This used to be commit b9deaa995da3a732514d5ceab0010adb58be5fe0)