I put the doxygen generated docs for the files here: http://arswiki.org/doxygen/arfprng/trunk/html/files.html
Axton Grams The opinions, statements, and/or suggested courses of action expressed in this E-mail do not necessarily reflect those of BMC Software, Inc. My voluntary participation in this forum is not intended to convey a role as a spokesperson, liaison or public relations representative for BMC Software, Inc. On Fri, May 1, 2009 at 10:34 AM, Axton <axton.gr...@gmail.com> wrote: > I have some examples of the ARPluginSetProperties, related to logging and > others, available here: > > http://arswiki.org/projects/arfprng/browser/trunk/lib/arfprng.c#L48 > http://arswiki.org/projects/arfprng/browser/trunk/lib/arfprng.c#L123 > > and a wrapper for the log functions here: > > http://arswiki.org/projects/arfprng/browser/trunk/lib/logger.c > > and an example using the log wrapper function here: > http://arswiki.org/projects/arfprng/browser/trunk/lib/arfprng.c#L255 > > > Basically, the plugin server provides a pointer to a function that it > implements which can be retrieved/referenced using the ARPropList in the > ARPluginSetProperties. You just need to get the value of the pointer and > make it globally available so that you can call the function from within > your code. There are a number of other undocumented functions that I found > that are interesting too, such as AR_PLUGIN_PROP_GETUSER_FUNCTION, which > returns the username, password, auth string, etc. of the calling user. > These other functions are not documented anywhere, but they are outlined in > the header files. > > Axton Grams > > The opinions, statements, and/or suggested courses of action expressed in > this E-mail do not necessarily reflect those of BMC Software, Inc. My > voluntary participation in this forum is not intended to convey a role as a > spokesperson, liaison or public relations representative for BMC Software, > Inc. > > > On Fri, May 1, 2009 at 3:35 AM, Jonas Stumph Stevnsvig < > jonas.stumph.stevns...@bec.dk> wrote: > >> ** Dearest ARSlisters, >> >> (I appologize if this is a dual post - I have been battling with the >> listserv since it didn't like an alias to my email.) >> >> I have had a few difficulties with the development of an ARDBC plugin. I >> am trying to update an existing code, but without much luck. >> >> I started off compiling the code, and verifying that I could see the >> plugin in the list of available vendor names when creating new vendor tables >> - that went fine. >> I then selected the vendor name, selected a table, and was presented with >> a long list of nothing. >> >> I've spent a lot of time trying to discover the best way to debug the >> driver, ending up with making sure that the following was appended to the >> ar.cfg: >> Plugin-Log-Level: 400 # guess - not sure whether it makes a difference >> Debug-mode: 131072 >> # see ConfigGuide-630.pdf for debug-mode. >> # 131072 : ARPLUGIN logging >> >> I now get a lot of information about the plugins being loaded, eg: >> ARDBC Plug-In Loaded: BEC.ARDBC.TDIV0310 version 2 >> ARPluginSetProperties undefined >> ARPluginInitialization defined >> ARPluginTermination defined >> ARPluginCreateInstance defined >> ARPluginDeleteInstance defined >> ARPluginEvent undefined >> ARDBCCreateEntry defined >> ARDBCGetEntry defined >> ARDBCSetEntry defined >> ARDBCDeleteEntry defined >> ARDBCGetEntryBLOB defined >> ARDBCGetListEntryWithFields defined >> ARDBCGetEntryStatistics defined >> ARDBCCommitTransaction defined >> ARDBCRollbackTransaction defined >> ARDBCGetListSchemas defined >> ARDBCGetMultipleFields defined >> >> As well as information about when the plugin's functions are being called, >> which is nice and neat. >> >> Now I am having trouble with Remedy administrator starting to hang after I >> select vendor tables in the create vendor form dialog. >> >> >> >> >> The AR System Plug-In server is not responding. Cannot connect to the >> system at this time. Contact your AR System Administrator for assistance. : >> RPC: Timed out (ARERR 8939). >> >> I've tried to follow the sparse guides on how to write to the >> arplugin.log, but I am having a spot of trouble getting my head round the >> ARPluginSetProperties implementation needed - I find the available >> documentation a bit sparse. A point in the right direction is much >> appreciated. >> >> I'm using the C API, and coding for 6.03 on a windows platform. (we're in >> the midst of migrating to 7.5, but need to get this corrected for 6.03 >> anyway) >> >> Thanks in advance. >> >> >> >> With regards, >> >> >> >> Jonas Stumph Stevnsvig >> >> >> Remedy Developer >> >> BEC Intern IT >> Phone (+45) 46 38 20 08 >> jonas.stumph.stevns...@bec.dk >> >> >> _Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers >> Are"_ > > > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"