Re: [webmin-devel] API access to webmin functions?

"Jamie Cameron" <[email protected]> Fri, 12 Mar 2010 10:23:38 -0800 (PST)
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
On 12/Mar/2010 06:26 Paul Gear <[email protected]> wrote ..
> Jamie Cameron wrote:
> > Sorry, no... however, you can access the webmin API from a command line perl
> script,  if you are familiar with the language. 
> > 
> > 
> > Paul Gear <[email protected]> wrote:
> > 
> >> Hi folks,
> >>
> >> I have a DHCP server that i manage through Webmin, and i'd like to
> >> bulk-add entries to a particular subnet.  Is there a way to access this
> >>from a bash script?
> 
> Perl is fine too.  Are there defined APIs for each module?

Yes, although not all are very well documented. 

Have a look at :
http://doxfer.com/Webmin/UsingTheAPIInStandalonePerlScripts
and :
http://doxfer.com/Webmin/TheWebminAPI

 - Jamie

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel