X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=snmp%2Flustre-snmp-util.h;h=b2c85eb212ebca1aa6b7983b7c71e19cbb7fcb04;hb=721e945a96186dba1ddd5ef4b2cab8cd8c4e06c2;hp=ab2fa6b62292cf347845d85d94c1043cb2c30fa7;hpb=e6dbaee6acd3e7265c41cc603a34678dc8376363;p=fs%2Flustre-release.git diff --git a/snmp/lustre-snmp-util.h b/snmp/lustre-snmp-util.h index ab2fa6b..b2c85eb 100644 --- a/snmp/lustre-snmp-util.h +++ b/snmp/lustre-snmp-util.h @@ -16,8 +16,8 @@ * in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see [sun.com URL with a - * copy of GPLv2]. + * version 2 along with this program; If not, see + * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, * CA 95054 USA or visit www.sun.com if you need additional information or @@ -220,4 +220,11 @@ unsigned char * int stats_values(char * filepath,char * name_value, unsigned long long * nb_sample, unsigned long long * min, unsigned long long * max, unsigned long long * sum, unsigned long long * sum_square); extern int mds_stats_values(char * name_value, unsigned long long * nb_sample, unsigned long long * min, unsigned long long * max, unsigned long long * sum, unsigned long long * sum_square); + /* export for net-snmp util-funcs */ +int header_simple_table(struct variable *, oid *, size_t *, + int, size_t *, + WriteMethod ** write_method, int); +int header_generic(struct variable *, oid *, size_t *, int, + size_t *, WriteMethod **); + #endif /* LUSTRE_SNMP_UTIL_H */