~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to perl/agent/default_store/default_store.xs

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2013-05-16 21:01:27 UTC
  • mfrom: (1.2.4) (1.1.23 sid)
  • Revision ID: package-import@ubuntu.com-20130516210127-y6meyeiobdx0131q
Tags: 5.7.2~dfsg-4ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - debian/rules: Don't stop service in runlevels 0 and 6.
  - debian/snmpd.init: LSBify the init script.
  - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
    by snmp user before install/uninstall.
  - Add apport hook.
* debian/patches/ubuntu-fix-lp-587828.patch: Drop. Fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#if defined(_WIN32) && !defined(_WIN32_WINNT)
 
2
#define _WIN32_WINNT 0x501
 
3
#endif
 
4
 
1
5
#include "EXTERN.h"
2
6
#include "perl.h"
3
7
#include "XSUB.h"
4
8
 
 
9
#include <net-snmp/net-snmp-config.h>
5
10
#include <net-snmp/agent/ds_agent.h>
6
11
 
7
12
 
617
622
#endif
618
623
        STRLEN          len;
619
624
        int             type;
620
 
        IV              iv;
 
625
        IV              iv = 0;
621
626
        /* NV           nv;     Uncomment this if you need to return NVs */
622
627
        /* const char   *pv;    Uncomment this if you need to return PVs */
623
628
    INPUT: