mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Used modified version of indent that understands over 100 typedefs.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: shmem.h,v 1.8 1997/09/08 20:59:07 momjian Exp $
|
||||
* $Id: shmem.h,v 1.9 1997/09/08 21:54:33 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -56,7 +56,7 @@ typedef struct SHM_QUEUE
|
||||
{
|
||||
SHMEM_OFFSET prev;
|
||||
SHMEM_OFFSET next;
|
||||
} SHM_QUEUE;
|
||||
} SHM_QUEUE;
|
||||
|
||||
/* shmem.c */
|
||||
extern void ShmemBindingTabReset(void);
|
||||
@@ -66,12 +66,12 @@ extern long *ShmemAlloc(unsigned long size);
|
||||
extern int ShmemIsValid(unsigned long addr);
|
||||
extern HTAB *
|
||||
ShmemInitHash(char *name, long init_size, long max_size,
|
||||
HASHCTL * infoP, int hash_flags);
|
||||
extern bool ShmemPIDLookup(int pid, SHMEM_OFFSET * locationPtr);
|
||||
HASHCTL *infoP, int hash_flags);
|
||||
extern bool ShmemPIDLookup(int pid, SHMEM_OFFSET *locationPtr);
|
||||
extern SHMEM_OFFSET ShmemPIDDestroy(int pid);
|
||||
extern long *
|
||||
ShmemInitStruct(char *name, unsigned long size,
|
||||
bool * foundPtr);
|
||||
bool *foundPtr);
|
||||
extern bool TransactionIdIsInProgress(TransactionId xid);
|
||||
|
||||
|
||||
@@ -96,13 +96,13 @@ typedef struct
|
||||
/*
|
||||
* prototypes for functions in shmqueue.c
|
||||
*/
|
||||
extern void SHMQueueInit(SHM_QUEUE * queue);
|
||||
extern void SHMQueueElemInit(SHM_QUEUE * queue);
|
||||
extern void SHMQueueDelete(SHM_QUEUE * queue);
|
||||
extern void SHMQueueInsertTL(SHM_QUEUE * queue, SHM_QUEUE * elem);
|
||||
extern void SHMQueueInit(SHM_QUEUE *queue);
|
||||
extern void SHMQueueElemInit(SHM_QUEUE *queue);
|
||||
extern void SHMQueueDelete(SHM_QUEUE *queue);
|
||||
extern void SHMQueueInsertTL(SHM_QUEUE *queue, SHM_QUEUE *elem);
|
||||
extern void
|
||||
SHMQueueFirst(SHM_QUEUE * queue, Pointer * nextPtrPtr,
|
||||
SHM_QUEUE * nextQueue);
|
||||
extern bool SHMQueueEmpty(SHM_QUEUE * queue);
|
||||
SHMQueueFirst(SHM_QUEUE *queue, Pointer *nextPtrPtr,
|
||||
SHM_QUEUE *nextQueue);
|
||||
extern bool SHMQueueEmpty(SHM_QUEUE *queue);
|
||||
|
||||
#endif /* SHMEM_H */
|
||||
|
||||
Reference in New Issue
Block a user