-/* $OpenBSD: snmpclient.c,v 1.15 2018/02/08 18:02:06 jca Exp $ */
+/* $OpenBSD: snmpclient.c,v 1.16 2018/08/08 18:50:38 rob Exp $ */
/*
* Copyright (c) 2013 Reyk Floeter <reyk@openbsd.org>
#define SNMPC_DATEANDTIME_SHORT_LEN 8
void snmpc_run(struct snmpc *, enum actions, const char *);
-void snmpc_request(struct snmpc *, u_long);
+void snmpc_request(struct snmpc *, unsigned int);
int snmpc_response(struct snmpc *);
-int snmpc_sendreq(struct snmpc *, u_long);
+int snmpc_sendreq(struct snmpc *, unsigned int);
int snmpc_recvresp(int, int, u_int32_t, struct ber_element **);
struct display_hint *
}
void
-snmpc_request(struct snmpc *sc, u_long type)
+snmpc_request(struct snmpc *sc, unsigned int type)
{
struct pollfd pfd[1];
int nfds, ret;
}
int
-snmpc_sendreq(struct snmpc *sc, u_long type)
+snmpc_sendreq(struct snmpc *sc, unsigned int type)
{
struct ber_element *root, *b;
struct ber ber;