Home | History | Annotate | Line # | Download | only in dns
probes.h revision 1.2
      1  1.1  christos /*
      2  1.1  christos  * Generated by dtrace(1M).
      3  1.1  christos  */
      4  1.1  christos 
      5  1.1  christos #ifndef	_PROBES_H
      6  1.1  christos #define	_PROBES_H
      7  1.1  christos 
      8  1.1  christos #include <unistd.h>
      9  1.1  christos 
     10  1.1  christos #ifdef	__cplusplus
     11  1.1  christos extern "C" {
     12  1.1  christos #endif
     13  1.1  christos 
     14  1.1  christos #include <sys/sdt.h>
     15  1.1  christos 
     16  1.2  christos #if _DTRACE_VERSION
     17  1.1  christos 
     18  1.1  christos #define	LIBDNS_XFRIN_AXFR_FINALIZE_BEGIN(arg0, arg1) \
     19  1.1  christos 	__dtrace_libdns___xfrin_axfr_finalize_begin(arg0, arg1)
     20  1.1  christos #ifndef	__sparc
     21  1.1  christos #define	LIBDNS_XFRIN_AXFR_FINALIZE_BEGIN_ENABLED() \
     22  1.1  christos 	__dtraceenabled_libdns___xfrin_axfr_finalize_begin()
     23  1.1  christos #else
     24  1.1  christos #define	LIBDNS_XFRIN_AXFR_FINALIZE_BEGIN_ENABLED() \
     25  1.1  christos 	__dtraceenabled_libdns___xfrin_axfr_finalize_begin(0)
     26  1.1  christos #endif
     27  1.1  christos #define	LIBDNS_XFRIN_AXFR_FINALIZE_END(arg0, arg1, arg2) \
     28  1.1  christos 	__dtrace_libdns___xfrin_axfr_finalize_end(arg0, arg1, arg2)
     29  1.1  christos #ifndef	__sparc
     30  1.1  christos #define	LIBDNS_XFRIN_AXFR_FINALIZE_END_ENABLED() \
     31  1.1  christos 	__dtraceenabled_libdns___xfrin_axfr_finalize_end()
     32  1.1  christos #else
     33  1.1  christos #define	LIBDNS_XFRIN_AXFR_FINALIZE_END_ENABLED() \
     34  1.1  christos 	__dtraceenabled_libdns___xfrin_axfr_finalize_end(0)
     35  1.1  christos #endif
     36  1.1  christos #define	LIBDNS_XFRIN_CONNECTED(arg0, arg1, arg2) \
     37  1.1  christos 	__dtrace_libdns___xfrin_connected(arg0, arg1, arg2)
     38  1.1  christos #ifndef	__sparc
     39  1.1  christos #define	LIBDNS_XFRIN_CONNECTED_ENABLED() \
     40  1.1  christos 	__dtraceenabled_libdns___xfrin_connected()
     41  1.1  christos #else
     42  1.1  christos #define	LIBDNS_XFRIN_CONNECTED_ENABLED() \
     43  1.1  christos 	__dtraceenabled_libdns___xfrin_connected(0)
     44  1.1  christos #endif
     45  1.1  christos #define	LIBDNS_XFRIN_DONE_CALLBACK_BEGIN(arg0, arg1, arg2) \
     46  1.1  christos 	__dtrace_libdns___xfrin_done_callback_begin(arg0, arg1, arg2)
     47  1.1  christos #ifndef	__sparc
     48  1.1  christos #define	LIBDNS_XFRIN_DONE_CALLBACK_BEGIN_ENABLED() \
     49  1.1  christos 	__dtraceenabled_libdns___xfrin_done_callback_begin()
     50  1.1  christos #else
     51  1.1  christos #define	LIBDNS_XFRIN_DONE_CALLBACK_BEGIN_ENABLED() \
     52  1.1  christos 	__dtraceenabled_libdns___xfrin_done_callback_begin(0)
     53  1.1  christos #endif
     54  1.1  christos #define	LIBDNS_XFRIN_DONE_CALLBACK_END(arg0, arg1, arg2) \
     55  1.1  christos 	__dtrace_libdns___xfrin_done_callback_end(arg0, arg1, arg2)
     56  1.1  christos #ifndef	__sparc
     57  1.1  christos #define	LIBDNS_XFRIN_DONE_CALLBACK_END_ENABLED() \
     58  1.1  christos 	__dtraceenabled_libdns___xfrin_done_callback_end()
     59  1.1  christos #else
     60  1.1  christos #define	LIBDNS_XFRIN_DONE_CALLBACK_END_ENABLED() \
     61  1.1  christos 	__dtraceenabled_libdns___xfrin_done_callback_end(0)
     62  1.1  christos #endif
     63  1.1  christos #define	LIBDNS_XFRIN_READ(arg0, arg1, arg2) \
     64  1.1  christos 	__dtrace_libdns___xfrin_read(arg0, arg1, arg2)
     65  1.1  christos #ifndef	__sparc
     66  1.1  christos #define	LIBDNS_XFRIN_READ_ENABLED() \
     67  1.1  christos 	__dtraceenabled_libdns___xfrin_read()
     68  1.1  christos #else
     69  1.1  christos #define	LIBDNS_XFRIN_READ_ENABLED() \
     70  1.1  christos 	__dtraceenabled_libdns___xfrin_read(0)
     71  1.1  christos #endif
     72  1.1  christos #define	LIBDNS_XFRIN_RECV_ANSWER(arg0, arg1, arg2) \
     73  1.1  christos 	__dtrace_libdns___xfrin_recv_answer(arg0, arg1, arg2)
     74  1.1  christos #ifndef	__sparc
     75  1.1  christos #define	LIBDNS_XFRIN_RECV_ANSWER_ENABLED() \
     76  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_answer()
     77  1.1  christos #else
     78  1.1  christos #define	LIBDNS_XFRIN_RECV_ANSWER_ENABLED() \
     79  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_answer(0)
     80  1.1  christos #endif
     81  1.1  christos #define	LIBDNS_XFRIN_RECV_DONE(arg0, arg1, arg2) \
     82  1.1  christos 	__dtrace_libdns___xfrin_recv_done(arg0, arg1, arg2)
     83  1.1  christos #ifndef	__sparc
     84  1.1  christos #define	LIBDNS_XFRIN_RECV_DONE_ENABLED() \
     85  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_done()
     86  1.1  christos #else
     87  1.1  christos #define	LIBDNS_XFRIN_RECV_DONE_ENABLED() \
     88  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_done(0)
     89  1.1  christos #endif
     90  1.1  christos #define	LIBDNS_XFRIN_RECV_PARSED(arg0, arg1, arg2) \
     91  1.1  christos 	__dtrace_libdns___xfrin_recv_parsed(arg0, arg1, arg2)
     92  1.1  christos #ifndef	__sparc
     93  1.1  christos #define	LIBDNS_XFRIN_RECV_PARSED_ENABLED() \
     94  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_parsed()
     95  1.1  christos #else
     96  1.1  christos #define	LIBDNS_XFRIN_RECV_PARSED_ENABLED() \
     97  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_parsed(0)
     98  1.1  christos #endif
     99  1.1  christos #define	LIBDNS_XFRIN_RECV_QUESTION(arg0, arg1, arg2) \
    100  1.1  christos 	__dtrace_libdns___xfrin_recv_question(arg0, arg1, arg2)
    101  1.1  christos #ifndef	__sparc
    102  1.1  christos #define	LIBDNS_XFRIN_RECV_QUESTION_ENABLED() \
    103  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_question()
    104  1.1  christos #else
    105  1.1  christos #define	LIBDNS_XFRIN_RECV_QUESTION_ENABLED() \
    106  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_question(0)
    107  1.1  christos #endif
    108  1.1  christos #define	LIBDNS_XFRIN_RECV_SEND_REQUEST(arg0, arg1) \
    109  1.1  christos 	__dtrace_libdns___xfrin_recv_send_request(arg0, arg1)
    110  1.1  christos #ifndef	__sparc
    111  1.1  christos #define	LIBDNS_XFRIN_RECV_SEND_REQUEST_ENABLED() \
    112  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_send_request()
    113  1.1  christos #else
    114  1.1  christos #define	LIBDNS_XFRIN_RECV_SEND_REQUEST_ENABLED() \
    115  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_send_request(0)
    116  1.1  christos #endif
    117  1.1  christos #define	LIBDNS_XFRIN_RECV_START(arg0, arg1, arg2) \
    118  1.1  christos 	__dtrace_libdns___xfrin_recv_start(arg0, arg1, arg2)
    119  1.1  christos #ifndef	__sparc
    120  1.1  christos #define	LIBDNS_XFRIN_RECV_START_ENABLED() \
    121  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_start()
    122  1.1  christos #else
    123  1.1  christos #define	LIBDNS_XFRIN_RECV_START_ENABLED() \
    124  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_start(0)
    125  1.1  christos #endif
    126  1.1  christos #define	LIBDNS_XFRIN_RECV_TRY_AXFR(arg0, arg1, arg2) \
    127  1.1  christos 	__dtrace_libdns___xfrin_recv_try_axfr(arg0, arg1, arg2)
    128  1.1  christos #ifndef	__sparc
    129  1.1  christos #define	LIBDNS_XFRIN_RECV_TRY_AXFR_ENABLED() \
    130  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_try_axfr()
    131  1.1  christos #else
    132  1.1  christos #define	LIBDNS_XFRIN_RECV_TRY_AXFR_ENABLED() \
    133  1.1  christos 	__dtraceenabled_libdns___xfrin_recv_try_axfr(0)
    134  1.1  christos #endif
    135  1.1  christos #define	LIBDNS_XFRIN_SENT(arg0, arg1, arg2) \
    136  1.1  christos 	__dtrace_libdns___xfrin_sent(arg0, arg1, arg2)
    137  1.1  christos #ifndef	__sparc
    138  1.1  christos #define	LIBDNS_XFRIN_SENT_ENABLED() \
    139  1.1  christos 	__dtraceenabled_libdns___xfrin_sent()
    140  1.1  christos #else
    141  1.1  christos #define	LIBDNS_XFRIN_SENT_ENABLED() \
    142  1.1  christos 	__dtraceenabled_libdns___xfrin_sent(0)
    143  1.1  christos #endif
    144  1.1  christos #define	LIBDNS_XFRIN_START(arg0, arg1) \
    145  1.1  christos 	__dtrace_libdns___xfrin_start(arg0, arg1)
    146  1.1  christos #ifndef	__sparc
    147  1.1  christos #define	LIBDNS_XFRIN_START_ENABLED() \
    148  1.1  christos 	__dtraceenabled_libdns___xfrin_start()
    149  1.1  christos #else
    150  1.1  christos #define	LIBDNS_XFRIN_START_ENABLED() \
    151  1.1  christos 	__dtraceenabled_libdns___xfrin_start(0)
    152  1.1  christos #endif
    153  1.1  christos 
    154  1.1  christos 
    155  1.1  christos extern void __dtrace_libdns___xfrin_axfr_finalize_begin(void *, char *);
    156  1.1  christos #ifndef	__sparc
    157  1.1  christos extern int __dtraceenabled_libdns___xfrin_axfr_finalize_begin(void);
    158  1.1  christos #else
    159  1.1  christos extern int __dtraceenabled_libdns___xfrin_axfr_finalize_begin(long);
    160  1.1  christos #endif
    161  1.1  christos extern void __dtrace_libdns___xfrin_axfr_finalize_end(void *, char *, int);
    162  1.1  christos #ifndef	__sparc
    163  1.1  christos extern int __dtraceenabled_libdns___xfrin_axfr_finalize_end(void);
    164  1.1  christos #else
    165  1.1  christos extern int __dtraceenabled_libdns___xfrin_axfr_finalize_end(long);
    166  1.1  christos #endif
    167  1.1  christos extern void __dtrace_libdns___xfrin_connected(void *, char *, int);
    168  1.1  christos #ifndef	__sparc
    169  1.1  christos extern int __dtraceenabled_libdns___xfrin_connected(void);
    170  1.1  christos #else
    171  1.1  christos extern int __dtraceenabled_libdns___xfrin_connected(long);
    172  1.1  christos #endif
    173  1.1  christos extern void __dtrace_libdns___xfrin_done_callback_begin(void *, char *, int);
    174  1.1  christos #ifndef	__sparc
    175  1.1  christos extern int __dtraceenabled_libdns___xfrin_done_callback_begin(void);
    176  1.1  christos #else
    177  1.1  christos extern int __dtraceenabled_libdns___xfrin_done_callback_begin(long);
    178  1.1  christos #endif
    179  1.1  christos extern void __dtrace_libdns___xfrin_done_callback_end(void *, char *, int);
    180  1.1  christos #ifndef	__sparc
    181  1.1  christos extern int __dtraceenabled_libdns___xfrin_done_callback_end(void);
    182  1.1  christos #else
    183  1.1  christos extern int __dtraceenabled_libdns___xfrin_done_callback_end(long);
    184  1.1  christos #endif
    185  1.1  christos extern void __dtrace_libdns___xfrin_read(void *, char *, int);
    186  1.1  christos #ifndef	__sparc
    187  1.1  christos extern int __dtraceenabled_libdns___xfrin_read(void);
    188  1.1  christos #else
    189  1.1  christos extern int __dtraceenabled_libdns___xfrin_read(long);
    190  1.1  christos #endif
    191  1.1  christos extern void __dtrace_libdns___xfrin_recv_answer(void *, char *, void *);
    192  1.1  christos #ifndef	__sparc
    193  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_answer(void);
    194  1.1  christos #else
    195  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_answer(long);
    196  1.1  christos #endif
    197  1.1  christos extern void __dtrace_libdns___xfrin_recv_done(void *, char *, int);
    198  1.1  christos #ifndef	__sparc
    199  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_done(void);
    200  1.1  christos #else
    201  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_done(long);
    202  1.1  christos #endif
    203  1.1  christos extern void __dtrace_libdns___xfrin_recv_parsed(void *, char *, int);
    204  1.1  christos #ifndef	__sparc
    205  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_parsed(void);
    206  1.1  christos #else
    207  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_parsed(long);
    208  1.1  christos #endif
    209  1.1  christos extern void __dtrace_libdns___xfrin_recv_question(void *, char *, void *);
    210  1.1  christos #ifndef	__sparc
    211  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_question(void);
    212  1.1  christos #else
    213  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_question(long);
    214  1.1  christos #endif
    215  1.1  christos extern void __dtrace_libdns___xfrin_recv_send_request(void *, char *);
    216  1.1  christos #ifndef	__sparc
    217  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_send_request(void);
    218  1.1  christos #else
    219  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_send_request(long);
    220  1.1  christos #endif
    221  1.1  christos extern void __dtrace_libdns___xfrin_recv_start(void *, char *, int);
    222  1.1  christos #ifndef	__sparc
    223  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_start(void);
    224  1.1  christos #else
    225  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_start(long);
    226  1.1  christos #endif
    227  1.1  christos extern void __dtrace_libdns___xfrin_recv_try_axfr(void *, char *, int);
    228  1.1  christos #ifndef	__sparc
    229  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_try_axfr(void);
    230  1.1  christos #else
    231  1.1  christos extern int __dtraceenabled_libdns___xfrin_recv_try_axfr(long);
    232  1.1  christos #endif
    233  1.1  christos extern void __dtrace_libdns___xfrin_sent(void *, char *, int);
    234  1.1  christos #ifndef	__sparc
    235  1.1  christos extern int __dtraceenabled_libdns___xfrin_sent(void);
    236  1.1  christos #else
    237  1.1  christos extern int __dtraceenabled_libdns___xfrin_sent(long);
    238  1.1  christos #endif
    239  1.1  christos extern void __dtrace_libdns___xfrin_start(void *, char *);
    240  1.1  christos #ifndef	__sparc
    241  1.1  christos extern int __dtraceenabled_libdns___xfrin_start(void);
    242  1.1  christos #else
    243  1.1  christos extern int __dtraceenabled_libdns___xfrin_start(long);
    244  1.1  christos #endif
    245  1.1  christos 
    246  1.1  christos #else
    247  1.1  christos 
    248  1.1  christos #define	LIBDNS_XFRIN_AXFR_FINALIZE_BEGIN(arg0, arg1)
    249  1.1  christos #define	LIBDNS_XFRIN_AXFR_FINALIZE_BEGIN_ENABLED() (0)
    250  1.1  christos #define	LIBDNS_XFRIN_AXFR_FINALIZE_END(arg0, arg1, arg2)
    251  1.1  christos #define	LIBDNS_XFRIN_AXFR_FINALIZE_END_ENABLED() (0)
    252  1.1  christos #define	LIBDNS_XFRIN_CONNECTED(arg0, arg1, arg2)
    253  1.1  christos #define	LIBDNS_XFRIN_CONNECTED_ENABLED() (0)
    254  1.1  christos #define	LIBDNS_XFRIN_DONE_CALLBACK_BEGIN(arg0, arg1, arg2)
    255  1.1  christos #define	LIBDNS_XFRIN_DONE_CALLBACK_BEGIN_ENABLED() (0)
    256  1.1  christos #define	LIBDNS_XFRIN_DONE_CALLBACK_END(arg0, arg1, arg2)
    257  1.1  christos #define	LIBDNS_XFRIN_DONE_CALLBACK_END_ENABLED() (0)
    258  1.1  christos #define	LIBDNS_XFRIN_READ(arg0, arg1, arg2)
    259  1.1  christos #define	LIBDNS_XFRIN_READ_ENABLED() (0)
    260  1.1  christos #define	LIBDNS_XFRIN_RECV_ANSWER(arg0, arg1, arg2)
    261  1.1  christos #define	LIBDNS_XFRIN_RECV_ANSWER_ENABLED() (0)
    262  1.1  christos #define	LIBDNS_XFRIN_RECV_DONE(arg0, arg1, arg2)
    263  1.1  christos #define	LIBDNS_XFRIN_RECV_DONE_ENABLED() (0)
    264  1.1  christos #define	LIBDNS_XFRIN_RECV_PARSED(arg0, arg1, arg2)
    265  1.1  christos #define	LIBDNS_XFRIN_RECV_PARSED_ENABLED() (0)
    266  1.1  christos #define	LIBDNS_XFRIN_RECV_QUESTION(arg0, arg1, arg2)
    267  1.1  christos #define	LIBDNS_XFRIN_RECV_QUESTION_ENABLED() (0)
    268  1.1  christos #define	LIBDNS_XFRIN_RECV_SEND_REQUEST(arg0, arg1)
    269  1.1  christos #define	LIBDNS_XFRIN_RECV_SEND_REQUEST_ENABLED() (0)
    270  1.1  christos #define	LIBDNS_XFRIN_RECV_START(arg0, arg1, arg2)
    271  1.1  christos #define	LIBDNS_XFRIN_RECV_START_ENABLED() (0)
    272  1.1  christos #define	LIBDNS_XFRIN_RECV_TRY_AXFR(arg0, arg1, arg2)
    273  1.1  christos #define	LIBDNS_XFRIN_RECV_TRY_AXFR_ENABLED() (0)
    274  1.1  christos #define	LIBDNS_XFRIN_SENT(arg0, arg1, arg2)
    275  1.1  christos #define	LIBDNS_XFRIN_SENT_ENABLED() (0)
    276  1.1  christos #define	LIBDNS_XFRIN_START(arg0, arg1)
    277  1.1  christos #define	LIBDNS_XFRIN_START_ENABLED() (0)
    278  1.1  christos 
    279  1.2  christos #endif
    280  1.2  christos 
    281  1.1  christos 
    282  1.1  christos #ifdef	__cplusplus
    283  1.1  christos }
    284  1.1  christos #endif
    285  1.1  christos 
    286  1.1  christos #endif	/* _PROBES_H */
    287