GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  JAM_WRITEMBHEADER (3)

NAME

JAM_WriteMBHeader - Write message base header

CONTENTS

Synopsis
Description
     Arguments
Examples
Author
See Also

SYNOPSIS


#include <jamlib/jam.h> 

int JAM_WriteMBHeader(s_JamBase* Base_PS, s_JamBaseHeader* Header_PS);

DESCRIPTION

Increases the ModCounter field by one, resets the header signature and writes the message base header to the start of the JAM header file.

    Arguments

Base_PS
  The message base to use
Header_PS
  A pointer to the base header to be stored

RETURN VALUE

0 if successful
JAM_IO_ERROR
  if an I/O error occured. See JAM_Errno(3)
JAM_BAD_PARAM
  if Base_PS or Header_PS is NULL
JAM_NOT_LOCKED
  if the message base is not locked

EXAMPLES

s_JamBaseHeader BaseHeader_S;
int             Result_I;

/* modify header here */

Result_I = JAM_WriteMBHeader(&BaseHeader_S); if (Result_I) printf("JAM_WriteMBHeader returned %d.\n", Result_I);

AUTHOR

This manual page was created by Sir Raorn <raorn@altlinux.ru>, based on original JAMlib documentation by Bjorn Stenberg <bjorn@haxx.nu> and Johan Billing <billing@df.lth.se>.

SEE ALSO

jamlib(3), JAM_ReadMBHeader(3), JAM_LockMB(3), JAM_Errno(3)
Search for    or go to Top of page |  Section 3 |  Main Index


JAM_WRITEMBHEADER (3) 2002-11-07

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.