/**
 * Copyright (c) 2013-present, Facebook, Inc.
 */
namespace cpp2 facebook.network.thrift
namespace cpp facebook.network.thrift
namespace py facebook.network.Address
namespace d facebook.network.Address

# fbstring uses the small internal buffer to store the data
# if the data is small enough (< 24 bytes).
typedef binary (cpp.type = "::folly::fbstring") fbbinary

enum AddressType {
  VUNSPEC = 0,
  V4 = 1,
  V6 = 2,
}

struct Address {
  1: required string addr,
  2: required AddressType type,
  3: optional i64 port = 0,
}

struct BinaryAddress {
  1: required fbbinary addr,
  2: optional i64 port = 0,
  3: optional string ifName,
}

/**
 * Copyright (c) 2013-present, Facebook, Inc.
 */
namespace cpp2 facebook.network.thrift
namespace cpp facebook.network.thrift
namespace py facebook.network.Address

# fbstring uses the small internal buffer to store the data
# if the data is small enough (< 24 bytes).
typedef binary (cpp.type = "::folly::fbstring") fbbinary

enum AddressType {
  VUNSPEC = 0,
  V4 = 1,
  V6 = 2,
}

struct Address {
  1: required string addr,
  2: required AddressType type,
  3: optional i64 port = 0,
}

struct BinaryAddress {
  1: required fbbinary addr,
  2: optional i64 port = 0,
  3: optional string ifName,
}

Cut D support from assorted .thrift files

Summary: Cut D support from assorted .thrift files.

Reviewed By: simpkins, markisaa, GirasoleY

Differential Revision: D15492500

fbshipit-source-id: 68c7fb4ff6c8917be0db961c7bdaa62a75f1b300

facebook/watchman,wez/watchman,wez/watchman,nodakai/watchman,facebook/watchman,facebook/watchman,wez/watchman,facebook/watchman,nodakai/watchman,nodakai/watchman,facebook/watchman,wez/watchman,wez/watchman,facebook/watchman,wez/watchman,facebook/watchman,nodakai/watchman,nodakai/watchman,nodakai/watchman,wez/watchman,nodakai/watchman,wez/watchman,wez/watchman,facebook/watchman,nodakai/watchman,facebook/watchman,nodakai/watchman