3932N/A/*
3932N/A * Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
3932N/A */
3932N/A
3932N/A/*
3932N/A * We seem currently unable to depend properly on existing D libraries (like
3932N/A * ftp.d). But the definitions for conninfo_t and ftpinfo_t are stored there
3932N/A * (and have to be, since that's where the real translators live). So we're
3932N/A * forced to define something here to satisfy dtrace(1M), but none of the
3932N/A * definitions or translators here are actually used.
3932N/A */
3932N/Atypedef struct ftpinfo {
3932N/A int dummy;
3932N/A} ftpinfo_t;
3932N/A
3932N/Atypedef struct ftpproto {
3932N/A int dummy;
3932N/A} ftpproto_t;
3932N/A
3932N/Atypedef struct conninfo {
3932N/A int dummy;
3932N/A} conninfo_t;
3932N/A
3932N/Atranslator conninfo_t <ftpproto_t *dp> {
3932N/A dummy = 0;
3932N/A};
3932N/A
3932N/Atranslator ftpinfo_t <ftpproto_t *dp> {
3932N/A dummy = 0;
3932N/A};
3932N/A
3932N/Aprovider ftp {
3932N/A probe transfer__start(ftpproto_t *p) :
3932N/A (conninfo_t *p, ftpinfo_t *p);
3932N/A probe transfer__done(ftpproto_t *p) :
3932N/A (conninfo_t *p, ftpinfo_t *p);
3932N/A};
3932N/A
3932N/A#pragma D attributes Evolving/Evolving/ISA provider ftp provider
3932N/A#pragma D attributes Private/Private/Unknown provider ftp module
3932N/A#pragma D attributes Private/Private/Unknown provider ftp function
3932N/A#pragma D attributes Private/Private/ISA provider ftp name
3932N/A#pragma D attributes Evolving/Evolving/ISA provider ftp args