1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-21 03:33:16 +03:00
Files
samba-mirror/source/script/build_smb_interfaces.pl
Tim Potter 1be5f55d7f r8910: An initial parser to parse structures in smb_interfaces.h. This will be
used to generate ejs objects for making raw smb calls.

Running 'make smb_interfaces' should run the build_smb_interfaces.pl
script which at the moment only displays a dump of the parsed data.
Const is also not working right now but it's bedtime.
2007-10-10 13:30:57 -05:00

11 lines
182 B
Perl
Executable File

#!/usr/bin/perl
my $idl_file = shift;
require smb_interfaces;
my $idl_parser = new smb_interfaces;
$parse = $idl_parser->parse($idl_file);
use Data::Dumper;
print Dumper($parse);