function [methodinfo,structs,enuminfo]=myepanet2;
%MYEPANET2 Create structures to define interfaces found in 'epanet2'.

%This function was generated by loadlibrary.m parser version 1.1.6.22 on Wed Jan  9 19:46:50 2008
%perl options:'epanet2.i -outfile=myepanet2.m'
ival={cell(1,0)}; % change 0 to the actual number of functions to preallocate the data.
fcns=struct('name',ival,'calltype',ival,'LHS',ival,'RHS',ival,'alias',ival);
structs=[];enuminfo=[];fcnNum=1;
% extern int _stdcall ENepanet ( char *, char *, char *, void (*) ( char *)); 
fcns.name{fcnNum}='ENepanet'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'cstring', 'cstring', 'cstring', 'FcnPtr'};fcnNum=fcnNum+1;
% extern int _stdcall ENopen ( char *, char *, char *); 
fcns.name{fcnNum}='ENopen'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'cstring', 'cstring', 'cstring'};fcnNum=fcnNum+1;
% extern int _stdcall ENsaveinpfile ( char *); 
fcns.name{fcnNum}='ENsaveinpfile'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'cstring'};fcnNum=fcnNum+1;
% extern int _stdcall ENclose ( void ); 
fcns.name{fcnNum}='ENclose'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
% extern int _stdcall ENsolveH ( void ); 
fcns.name{fcnNum}='ENsolveH'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
% extern int _stdcall ENsaveH ( void ); 
fcns.name{fcnNum}='ENsaveH'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
% extern int _stdcall ENopenH ( void ); 
fcns.name{fcnNum}='ENopenH'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
% extern int _stdcall ENinitH ( int ); 
fcns.name{fcnNum}='ENinitH'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
% extern int _stdcall ENrunH ( long *); 
fcns.name{fcnNum}='ENrunH'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENnextH ( long *); 
fcns.name{fcnNum}='ENnextH'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENcloseH ( void ); 
fcns.name{fcnNum}='ENcloseH'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
% extern int _stdcall ENsavehydfile ( char *); 
fcns.name{fcnNum}='ENsavehydfile'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'cstring'};fcnNum=fcnNum+1;
% extern int _stdcall ENusehydfile ( char *); 
fcns.name{fcnNum}='ENusehydfile'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'cstring'};fcnNum=fcnNum+1;
% extern int _stdcall ENsolveQ ( void ); 
fcns.name{fcnNum}='ENsolveQ'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
% extern int _stdcall ENopenQ ( void ); 
fcns.name{fcnNum}='ENopenQ'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
% extern int _stdcall ENinitQ ( int ); 
fcns.name{fcnNum}='ENinitQ'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
% extern int _stdcall ENrunQ ( long *); 
fcns.name{fcnNum}='ENrunQ'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENnextQ ( long *); 
fcns.name{fcnNum}='ENnextQ'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENstepQ ( long *); 
fcns.name{fcnNum}='ENstepQ'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENcloseQ ( void ); 
fcns.name{fcnNum}='ENcloseQ'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
% extern int _stdcall ENwriteline ( char *); 
fcns.name{fcnNum}='ENwriteline'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'cstring'};fcnNum=fcnNum+1;
% extern int _stdcall ENreport ( void ); 
fcns.name{fcnNum}='ENreport'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
% extern int _stdcall ENresetreport ( void ); 
fcns.name{fcnNum}='ENresetreport'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
% extern int _stdcall ENsetreport ( char *); 
fcns.name{fcnNum}='ENsetreport'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'cstring'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetcontrol ( int , int *, int *, float *, int *, float *); 
fcns.name{fcnNum}='ENgetcontrol'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32Ptr', 'int32Ptr', 'singlePtr', 'int32Ptr', 'singlePtr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetcount ( int , int *); 
fcns.name{fcnNum}='ENgetcount'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetoption ( int , float *); 
fcns.name{fcnNum}='ENgetoption'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'singlePtr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgettimeparam ( int , long *); 
fcns.name{fcnNum}='ENgettimeparam'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetflowunits ( int *); 
fcns.name{fcnNum}='ENgetflowunits'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetpatternindex ( char *, int *); 
fcns.name{fcnNum}='ENgetpatternindex'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'cstring', 'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetpatternid ( int , char *); 
fcns.name{fcnNum}='ENgetpatternid'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'cstring'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetpatternlen ( int , int *); 
fcns.name{fcnNum}='ENgetpatternlen'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetpatternvalue ( int , int , float *); 
fcns.name{fcnNum}='ENgetpatternvalue'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32', 'singlePtr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetqualtype ( int *, int *); 
fcns.name{fcnNum}='ENgetqualtype'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32Ptr', 'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgeterror ( int , char *, int ); 
fcns.name{fcnNum}='ENgeterror'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'cstring', 'int32'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetnodeindex ( char *, int *); 
fcns.name{fcnNum}='ENgetnodeindex'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'cstring', 'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetnodeid ( int , char *); 
fcns.name{fcnNum}='ENgetnodeid'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'cstring'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetnodetype ( int , int *); 
fcns.name{fcnNum}='ENgetnodetype'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetnodevalue ( int , int , float *); 
fcns.name{fcnNum}='ENgetnodevalue'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32', 'singlePtr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetlinkindex ( char *, int *); 
fcns.name{fcnNum}='ENgetlinkindex'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'cstring', 'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetlinkid ( int , char *); 
fcns.name{fcnNum}='ENgetlinkid'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'cstring'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetlinktype ( int , int *); 
fcns.name{fcnNum}='ENgetlinktype'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetlinknodes ( int , int *, int *); 
fcns.name{fcnNum}='ENgetlinknodes'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32Ptr', 'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetlinkvalue ( int , int , float *); 
fcns.name{fcnNum}='ENgetlinkvalue'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32', 'singlePtr'};fcnNum=fcnNum+1;
% extern int _stdcall ENgetversion ( int *); 
fcns.name{fcnNum}='ENgetversion'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32Ptr'};fcnNum=fcnNum+1;
% extern int _stdcall ENsetcontrol ( int , int , int , float , int , float ); 
fcns.name{fcnNum}='ENsetcontrol'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32', 'int32', 'single', 'int32', 'single'};fcnNum=fcnNum+1;
% extern int _stdcall ENsetnodevalue ( int , int , float ); 
fcns.name{fcnNum}='ENsetnodevalue'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32', 'single'};fcnNum=fcnNum+1;
% extern int _stdcall ENsetlinkvalue ( int , int , float ); 
fcns.name{fcnNum}='ENsetlinkvalue'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32', 'single'};fcnNum=fcnNum+1;
% extern int _stdcall ENsetpattern ( int , float *, int ); 
fcns.name{fcnNum}='ENsetpattern'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'singlePtr', 'int32'};fcnNum=fcnNum+1;
% extern int _stdcall ENsetpatternvalue ( int , int , float ); 
fcns.name{fcnNum}='ENsetpatternvalue'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32', 'single'};fcnNum=fcnNum+1;
% extern int _stdcall ENsettimeparam ( int , long ); 
fcns.name{fcnNum}='ENsettimeparam'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'int32'};fcnNum=fcnNum+1;
% extern int _stdcall ENsetoption ( int , float ); 
fcns.name{fcnNum}='ENsetoption'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'single'};fcnNum=fcnNum+1;
% extern int _stdcall ENsetstatusreport ( int ); 
fcns.name{fcnNum}='ENsetstatusreport'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
% extern int _stdcall ENsetqualtype ( int , char *, char *, char *); 
fcns.name{fcnNum}='ENsetqualtype'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32', 'cstring', 'cstring', 'cstring'};fcnNum=fcnNum+1;
methodinfo=fcns;