Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.322.141 Times

Tuxedo 2.08

  Date Added: September 12, 2010  |  Visits: 1.791

Tuxedo

Report Broken Link
Printer Friendly Version


Product Homepage
Download (107 downloads)



Tuxedo is a Perl extension module for Tuxedo. This module provides the following functionality... C style interface The Tuxedo perl module gives you access to almost all of the tuxedo 8.1 apis from perl. In most cases you can take the C API you already familiar with, apply perl semantics to it, and write working tuxedo programs in perl. Object wrapping of C structures Many tuxedo functions take pointers to C structures as function parameters. To preserve the C interface, this module provides perl objects that encapsulate the C structures used by tuxedo. These objects allow the user to create and manipulate the elements of these C structures, and these objects are then passed as parameters to the perl version of these tuxedo C functions. buffer management Perl classes exist for each buffer type to allow for easy manipulation of buffer contents and automatic memory cleanup when no more references to the buffer exist. callback subs perl subs can be registered as unsolicited message handlers and signal handlers. FML/FML32 field table support This module includes the mkfldpm32.pl script that is the perl equivalent of the tuxedo mkfldhdr32 program. It accepts a field table file as input and produces a *.pm file that can be included in a perl script, so field identifiers can be referenced by id. perl tuxedo services You can now write tuxedo services in perl. When you build the Tuxedo module, it should create a tuxedo server called PERLSVR. This is a tuxedo server that contains an embedded perl interpretor for executing perl tuxedo services. When PERLSVR boots up, it parses the perlsvr.pl script, which at the moment it expects to find in its working directory. The location of perlsvr.pl will be configurable in a future version. The perlsvr.pl script is run as the tpsvrinit routine. You can modify perlsvr.pl to define any subs you want to be tuxedo services and advertise these subs. There are a few rules for writing subs that are to be run as tuxedo services. 1) They must accept a single input parameter which is a reference to a TPSVCINFO_PTR object. 2) They must return 5 parameters corresponding to the parameters of the tpreturn tuxedo function. You dont call tpreturn directly from a perl sub tuxedo service. When the sub returns, the PERLSVR will extract the return values from the perl stack and call tpreturn for you. Below is the perlsvr.pl that is included with this distribution. It demonstrates how to write and advertise two simple perl subs that act as tuxedo services. use Tuxedo; sub TOUPPER { my ($tpsvcinfo) = @_; my ($inbuf) = $tpsvcinfo->data; $inbuf->value( ($newval = uc($inbuf->value)) ); return ( TPSUCCESS, 0, $inbuf, $tpsvcinfo->len, 0 ); } sub REVERSE { my ($tpsvcinfo) = @_; my ($buf) = $tpsvcinfo->data; $buf->value( ($newval = reverse($buf->value)) ); return ( TPSUCCESS, 0, $buf, $tpsvcinfo->len, 0 ); } tpadvertise( "TOUPPER", &TOUPPER ); tpadvertise( "REVERSE", &REVERSE ); Future versions of this module will include workstation and native modules Different modules will exist for native and workstation tuxedo development. Currently native is the default. An object oriented tuxedo interface Version 1 of the Tuxedo module only presented an object oriented interface to the user. This version of the Tuxedo module presents the original C interface to make perl tuxedo development easier for experienced tuxedo programmers. The object oriented interface will co-exist with the C interface in a future version of this module..

Requirements: No special requirements
Platforms: Linux
Keyword: C Structures Interface Libraries Module Perl Perlsvr Programming Subs Tuxedo
Users rating: 0/10

License: Freeware Size: 33.79 KB
USER REVIEWS
More Reviews or Write Review


TUXEDO RELATED
Libraries  -  Inline::Struct 0.06
Inline::Struct is a Perl module that manipulate C structures directly from Perl. SYNOPSIS use Inline C => Config => Structs => [Foo]; my $obj = Inline::Struct::Foo->new; $obj->num(10); $obj->str("Hello"); myfunc($obj); __END__ __C__...
8.19 KB  
Libraries  -  Acme::EyeDrops 1.51
Acme::EyeDrops is a Perl module for visual programming in Perl. SYNOPSIS use Acme::EyeDrops qw(sightly); print sightly( { Shape => camel, SourceFile => eyesore.pl } ); Acme::EyeDrops converts a Perl program into an equivalent one, but...
102.4 KB  
Libraries  -  GCJ::Cni::Examples 0.03
GCJ::Cni::Examples is a Perl module with examples of how to use GCJs CNI interface to write Perl Modules in Java. EXAMPLES Writing Treaded modules in Java One benefit of using GCJ is that it takes advantage of POSIX threading. This is nice...
20.48 KB  
Programming  -  Simplified Wrapper and Interface Generator 1.3.28
SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. The list of supported languages also includes non-scripting languages such as C#, Common Lisp (CLISP, Allegro CL,...
3.5 MB  
Development Editors  -  C-MINUIT interface 20031201
C-MINUIT enables you to minimize functions written in C, using the MINUIT minimizer from CERNlib. The package contains the MINUIT code (fortran77) as well as some C-fortran interface code. C-MINUIT is licenced under the GNU Public License (GPL),...
163.84 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Inline::C 0.44
Inline::C is a Perl module that can Write Perl Subroutines in C. Inline::C is a module that allows you to write Perl subroutines in C. Since version 0.30 the Inline module supports multiple programming languages and each language has its own...
92.16 KB  
Libraries  -  Lufs::C 0.21
Lufs::C is a C interface to perl. ABSTRACT This interface is used by the C code to call the perl subs. SEE ALSO perlfs.c.
24.58 KB  
Libraries  -  GnuPG::Interface 0.33
GnuPG::Interface is a Perl interface to GnuPG. SYNOPSIS # A simple example use IO::Handle; use GnuPG::Interface; # settting up the situation my $gnupg = GnuPG::Interface->new(); $gnupg->options->hash_init( armor => 1, homedir =>...
37.89 KB  
Libraries  -  ObjStore::Internals 1.59
ObjStore::Internals is a Perl module with a few notes on the implementation. SYNOPSIS You dont have to understand anything about the technical implementation. Just know that: ObjectStore is outrageously powerful; sophisticated; and even...
163.84 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB