From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0c2d4885e85a65f8cb0fba1ed4d12336@9grid.es> To: 9fans@9fans.net Date: Wed, 11 Jun 2008 22:06:20 +0200 From: gdiaz@9grid.es MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] store 9p session-only values using lib9p Topicbox-Message-UUID: baee7f28-ead3-11e9-9d60-3106f5b1d025 Hello I've a 9p server implemented using lib9p which serves decoded files, for example, i have a base64 encoded file i want to read, but i want to decode it at the same time the client reads. Then i need to save two offsets, the one sent to the client corresponds to the decoded data, and i need other which correspond to the original data. (base64 is an example, rfc2047 codification is the main issue) If i save the offset adjustment in f->aux or simmilar, i can calculate the real file offset on the next T-reads, but that will only work if one client reads it at one time. could that value be saved for each session? i would love to hear from other's experiences, thanks, gabi