close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 14 years ago

Closed 14 years ago

#1051 closed enhancement (fixed)

add extra argument to Tol_HciWriter

Reported by: Jorge Owned by: Jorge
Priority: highest Milestone: Mantainance
Component: Kernel Version: head
Severity: blocker Keywords: HciWriter
Cc: hcarralero@…

Description

The "Hci Writer" in TOL is a global function of type:

typedef void (*BHciWriter)(const BText&);

In order to provide a context information to a global function of this type it is proposed to be:

typedef void (*BHciWriter)(const BText&, void *context);

the extra argument context must be provided in the invocation to PutHciWriter

void   PutHciWriter(BHciWriter h, void *context = NULL);

When the HciWriter is invoked it will receive the context argument it was registered with.

Change History (2)

comment:1 Changed 14 years ago by Jorge

Owner: changed from josp.jorge to Jorge
Status: newassigned

comment:2 Changed 14 years ago by Jorge

Resolution: fixed
Status: assignedclosed

(In [2980]) closes #1051

Note: See TracTickets for help on using tickets.