No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RcppExports.R 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Generated by using Rcpp::compileAttributes() -> do not edit by hand
  2. # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
  3. #' Return gdns library version
  4. #'
  5. #' @export
  6. gdns_lib_version <- function() {
  7. .Call(`_clandnstine_gdns_lib_version`)
  8. }
  9. #' Test whether an object is an external pointer
  10. #'
  11. #' @param x object to test
  12. #' @keywords internal
  13. check_is_xptr <- function(s) {
  14. invisible(.Call(`_clandnstine_check_is_xptr`, s))
  15. }
  16. #' Test whether an external pointer is null
  17. #'
  18. #' @param x object to test
  19. #' @keywords internal
  20. is_null_xptr_ <- function(s) {
  21. .Call(`_clandnstine_is_null_xptr_`, s)
  22. }
  23. #' Internal version of gdns_resolver
  24. #' @keywords internal
  25. int_gdns_resolver <- function(resolvers) {
  26. .Call(`_clandnstine_int_gdns_resolver`, resolvers)
  27. }
  28. #' Resolve a host to an addrss
  29. #'
  30. #' @param gctx gdns resolver context created with [gdns_resolver()]
  31. #' @param host to lookup
  32. #' @export
  33. #' @examples
  34. #' x <- gdns_resolver()
  35. #' gdns_get_address(x, "yahoo.com")
  36. #' x %>% gdns_get_address("yahoo.com")
  37. gdns_get_address <- function(gctx, host) {
  38. .Call(`_clandnstine_gdns_get_address`, gctx, host)
  39. }
  40. int_get_resolvers <- function(gctx) {
  41. .Call(`_clandnstine_int_get_resolvers`, gctx)
  42. }
  43. int_gdns_query <- function(gctx, name, rr) {
  44. .Call(`_clandnstine_int_gdns_query`, gctx, name, rr)
  45. }