~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/cloud_ms.h

  • Committer: Brian Aker
  • Date: 2010-10-28 17:12:01 UTC
  • mfrom: (1887.1.3 merge)
  • Revision ID: brian@tangent.org-20101028171201-baj6l1bnntn1s4ad
Merge in POTFILES changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef __CLOUD_H__
2
2
#define __CLOUD_H__
3
 
/* Copyright (C) 2009 PrimeBase Technologies GmbH, Germany
 
3
/* Copyright (c) 2009 PrimeBase Technologies GmbH, Germany
4
4
 *
5
5
 * PrimeBase Media Stream for MySQL
6
6
 *
67
67
        }
68
68
 
69
69
 
70
 
        static MSCloudInfo *getCloudInfo(uint32_t in_cloudRefId)
 
70
        static MSCloudInfo *getCloudInfo(uint32_t cloudRefId)
71
71
        {
72
72
                MSCloudInfo *info;
73
73
                enter_();
74
74
                
75
75
                lock_(gCloudInfo);
76
76
                
77
 
                info = (MSCloudInfo *) gCloudInfo->get(in_cloudRefId);
 
77
                info = (MSCloudInfo *) gCloudInfo->get(cloudRefId);
78
78
                if (!info) {
79
79
                        char msg[80];
80
 
                        snprintf(msg, 80, "Cloud info with reference ID %"PRIu32" not found", in_cloudRefId);
 
80
                        snprintf(msg, 80, "Cloud info with reference ID %"PRIu32" not found", cloudRefId);
81
81
                        CSException::throwException(CS_CONTEXT, CS_ERR_GENERIC_ERROR, msg);
82
82
                }
83
83
                info->retain();